Adds Okta OIDC authentication to your user resource
Okta requires you to point at a specific authorization server. The recommended
setting is https://YOUR_OKTA_DOMAIN/oauth2/default (the built-in default
Custom Authorization Server). Configure it via the OKTA_BASE_URL
environment variable, or pass --base-url to bake it directly into the DSL.
Example
mix ash_authentication.add_strategy.okta
Options
--user,-u- The user resource. Defaults toYourApp.Accounts.User--accounts,-a- The accounts domain. Defaults toYourApp.Accounts--identity-field,-i- The field used to identify the user. Defaults toemail--base-url- If provided, set as a literal in the strategy DSL instead of via env var
Summary
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.