Skip to content

An application to authenticate your Elixir/Phoenix apps with AUTH0 and Guardian.

License

Notifications You must be signed in to change notification settings

gmtprime/guachiman

Repository files navigation

Guachiman

Guachiman is an application to authenticate your Elixir/Phoenix application with AUTH0 and Guardian.

Configuration

The following parameters could be provided through configuration:

General configuration

  • scopes: a list of the valid scopes that could be part of the token:
  scopes: ["create_user", "delete_user", "openid", "profile", "email"]
  • resource: a MFA {mod, function, args} that guachiman (through Guardian) will use to retrieve the resourc given a subject_id (sub claim).
  resource: {ExBitcloudApi.GuardianResource, :get, []}

Installation

...not yet

If available in Hex, the package can be installed by adding guachiman to your list of dependencies in mix.exs:

def deps do
  [
    {:guachiman, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/guachiman.

About

An application to authenticate your Elixir/Phoenix apps with AUTH0 and Guardian.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published