Ueberauth.Strategy.OIDC (Ueberauth OIDC v0.1.2)

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

Link to this function

credentials(conn)

Returns the credentials from the oidc response.

other includes provider and id_token

Link to this function

default_options()

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.

Link to this function

handle_callback!(conn)

Handles the callback from the oidc provider.

Link to this function

handle_request!(conn)

Handles the initial authentication request.

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.

Returns the configured uid field from the id token.