Ueberauth.Strategy.OpenAM (Ueberauth OpenAM strategy v1.0.0) View Source

OpenAM Strategy for Überauth. Redirects the user to an OpenAM login page and verifies the auth token the OpenAM server returns after a successful login. The login flow looks like this:

  1. User is redirected to the OpenAM server's login page by Ueberauth.Strategy.OpenAM.handle_request!
  2. User signs in to the OpenAM server.
  3. OpenAM server redirects back to the Elixir application, sending an auth token as an HTTP Cookie header.
  4. This auth token is validated by this Überauth OpenAM strategy, fetching the user's information at the same time.
  5. User can proceed to use the Elixir application.

Link to this section Summary

Functions

Ueberauth extra information callback. Returns all attributes the OpenAM server returned about the user that authenticated.

Ueberauth after login callback with a valid OpenAM Cookie.

Ueberauth request handler. Redirects to the OpenAM server's login page.

Ueberauth user information.

Ueberauth UID callback.

Link to this section Functions

Callback implementation for Ueberauth.Strategy.credentials/1.

Ueberauth extra information callback. Returns all attributes the OpenAM server returned about the user that authenticated.

Ueberauth after login callback with a valid OpenAM Cookie.

Callback implementation for Ueberauth.Strategy.handle_cleanup!/1.

Ueberauth request handler. Redirects to the OpenAM server's login page.

Ueberauth user information.

Ueberauth UID callback.