View Source Ueberauth.Strategy.NuSSO (Ueberauth NuSSO strategy v1.1.0)
NuSSO Strategy for Überauth. Redirects the user to an NuSSO login page and verifies the auth token the NuSSO server returns after a successful login. The login flow looks like this:
- User is redirected to the NuSSO server's login page by
Ueberauth.Strategy.NuSSO.handle_request!
- User signs in to the NuSSO server.
- NuSSO server redirects back to the Elixir application, sending an auth token as an HTTP Cookie header.
- This auth token is validated by this Überauth NuSSO strategy, fetching the user's information at the same time.
- User can proceed to use the Elixir application.
Link to this section Summary
Functions
Callback implementation for Ueberauth.Strategy.credentials/1
.
Ueberauth extra information callback. Returns all attributes the NuSSO server returned about the user that authenticated.
Ueberauth after login callback with a valid NuSSO Cookie.
Callback implementation for Ueberauth.Strategy.handle_cleanup!/1
.
Ueberauth request
handler. Redirects to the NuSSO 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 NuSSO server returned about the user that authenticated.
Ueberauth after login callback with a valid NuSSO Cookie.
Callback implementation for Ueberauth.Strategy.handle_cleanup!/1
.
Ueberauth request
handler. Redirects to the NuSSO server's login page.
Ueberauth user information.
Ueberauth UID callback.