Guachiman is an application to authenticate your Elixir/Phoenix application with AUTH0 and Guardian.
The following parameters could be provided through 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}
thatguachiman
(through Guardian) will use to retrieve the resourc given asubject_id
(sub
claim).
resource: {ExBitcloudApi.GuardianResource, :get, []}
...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.