Ueberauth.Strategy.Okta.OAuth (Ueberauth Okta v1.0.0) View Source

An implementation of OAuth2 for Okta.

Required values are site, client_id, client_secret and should be included in your provider configuration:

config :ueberauth, Ueberauth,
  providers: [
    okta: {Ueberauth.Strategy.Okta, [
      site: "https://your-doman.okta.com"
      client_id: System.get_env("OKTA_CLIENT_ID"),
      client_secret: System.get_env("OKTA_CLIENT_SECRET")
    ]}
  ]

You can also include options from the OAuth2.Client.t() struct which will take precedence.

Link to this section Summary

Functions

Provides the authorize url for the request phase of Ueberauth.

Construct a client for requests to Okta.

Link to this section Functions

Link to this function

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

View Source

Provides the authorize url for the request phase of Ueberauth.

Construct a client for requests to Okta.

Intended for use from Ueberauth.Strategy.Okta but supplying options for usage outside the normal callback phase of Ueberauth. See OAuth2.Client.t() for available options.

Link to this function

get_token(params \\ [], options \\ [])

View Source
Link to this function

get_user_info(headers \\ [], opts \\ [])

View Source