mix ash_authentication.add_strategy.microsoft
(ash_authentication v5.0.0-rc.6)
Copy Markdown
View Source
Adds Microsoft OAuth authentication to your user resource
By default, the Microsoft strategy uses the "common" tenant endpoint which
allows sign-in from any Azure AD tenant. To restrict to a specific tenant,
set the MICROSOFT_BASE_URL environment variable to
https://login.microsoftonline.com/YOUR_TENANT_ID/v2.0.
Example
mix ash_authentication.add_strategy.microsoft
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
Summary
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.