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
Callback implementation for OAuth2.Strategy.authorize_url/2
.
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
Callback implementation for OAuth2.Strategy.get_token/3
.
returns the signout url based on the configuration files, sign_out_url and client_id
Link to this section Functions
Callback implementation for OAuth2.Strategy.authorize_url/2
.
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.
returns the configuration for a specific value ssing the default urls and the overriden values
Callback implementation for OAuth2.Strategy.get_token/3
.
returns the signout url based on the configuration files, sign_out_url and client_id