Ueberauth.Strategy.OIDC (Ueberauth OIDC v0.1.7)
OIDC Strategy for Ueberauth.
Link to this section Summary
Functions
Returns the credentials from the oidc response.
Returns an Ueberauth.Auth.Extra
struct containing the raw token map
obtained from :oidcc
.
Handles the callback from the oidc provider.
Handles the initial authentication request.
Returns a Ueberauth.Auth.Info
struct populated with the data returned from
the userinfo endpoint.
Returns the configured uid field from the id token.
Link to this section Functions
auth(conn)
credentials(conn)
Returns the credentials from the oidc response.
other
includes provider
and id_token
default_options()
extra(conn)
Returns an Ueberauth.Auth.Extra
struct containing the raw token map
obtained from :oidcc
.
Since :oidcc
is an erlang library, empty values in the map are
represented by :undefined
or :none
, not nil
.
handle_callback!(conn)
Handles the callback from the oidc provider.
handle_request!(conn)
Handles the initial authentication request.
info(conn)
Returns a Ueberauth.Auth.Info
struct populated with the data returned from
the userinfo endpoint.
This information is also included in the Ueberauth.Auth.Credentials
struct.
uid(conn)
Returns the configured uid field from the id token.