Ueberauth.Strategy.Fusion.OAuth (Ueberauth Fusion Strategy v0.9.0) View Source

OAuth2 for Fusion.

Add client_id, client_secret, fusion_url, redirect_url, tenant_id to your configuration: Also you can configure: authorize_url, userinfo_url, userinfo_url, jwk_set_url, sign_out_url. If not configured, then the default values are build using fusion_url

config :ueberauth, Ueberauth.Strategy.Fusion.OAuth, client_id: System.get_env("FUSION_APP_ID"), client_secret: System.get_env("FUSION_APP_SECRET") redirect_url: System.get_env("FUSION_REDIRECT_URL") fusion_url: System.get_env("FUSION_URL") tenant_id: System.get_env("TENANT_ID")

Link to this section Summary

Functions

Provides the authorize url for the request phase of Ueberauth. No need to call this usually.

Construct a client for requests to Fusion Auth.

returns the configuration for a specific value ssing the default urls and the overriden values

returns the signout url based on the configuration files, sign_out_url and client_id

Link to this section Functions

Link to this function

authorize_url(client, params)

View Source

Callback implementation for OAuth2.Strategy.authorize_url/2.

Link to this function

authorize_url!(params \\ [], opts \\ [])

View Source

Provides the authorize url for the request phase of Ueberauth. No need to call this usually.

Construct a client for requests to Fusion Auth.

This will be setup automatically for you in Ueberauth.Strategy.Fusion.

These options are only useful for usage outside the normal callback phase of Ueberauth.

Link to this function

get(token, url, headers \\ [], opts \\ [])

View Source
Link to this function

get_access_token(params \\ [], opts \\ [])

View Source

returns the configuration for a specific value ssing the default urls and the overriden values

Link to this function

get_token(client, params, headers)

View Source

Callback implementation for OAuth2.Strategy.get_token/3.

Link to this function

signout_url(params \\ %{})

View Source

returns the signout url based on the configuration files, sign_out_url and client_id