Ueberauth.Strategy.Oidcc (Ueberauth OIDCC v0.4.2)

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

credentials(conn)

Returns the credentials from the oidc response.

other includes id_token

default_options()

Callback implementation for Ueberauth.Strategy.default_options/0.

extra(conn)

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

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