Ueberauth.Strategy.Oidcc (Ueberauth OIDCC v0.4.0-pre.4)

OIDC Strategy for Ueberauth.

Options

  • uid_field: claim to use for the uid field in Ueberauth.Auth (default: "sub")

See UeberauthOidcc.Config for other configuration.

Summary

Functions

Returns the credentials from the oidc response.

Returns an Ueberauth.Auth.Extra struct containing the claims and userinfo response.

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 claims.

Functions

Link to this function

credentials(conn)

Returns the credentials from the oidc response.

other includes id_token

Link to this function

default_options()

Callback implementation for Ueberauth.Strategy.default_options/0.

Returns an Ueberauth.Auth.Extra struct containing the claims and userinfo response.

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 claims.