Skip to content

Commit 0fec42b

Browse files
authored
19795 microsoft account oauth options (#19894)
1 parent b70c6bb commit 0fec42b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aspnetcore/security/authentication/social/microsoft-logins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ If you don't have a Microsoft account, select **Create one**. After signing in,
2525
* Select **New registration**
2626
* Enter a **Name**.
2727
* Select an option for **Supported account types**. <!-- Accounts for any org work with MS domain accounts. Most folks probably want the last option, personal MS accounts. It took 24 hours after setting this up for the keys to work -->
28+
* The `MicrosoftAccount` package supports App Registrations created using "Accounts in any organizational directory" or "Accounts in any organizational directory and Microsoft accounts" options by default.
29+
* To use other options, set `AuthorizationEndpoint` and `TokenEndpoint` members of `MicrosoftAccountOptions` used to initialize the Microsoft Account authentication to the URLs displayed on **Endpoints** page of the App Registration after it is created (available by clicking Endpoints on the **Overview** page).
2830
* Under **Redirect URI**, enter your development URL with `/signin-microsoft` appended. For example, `https://localhost:5001/signin-microsoft`. The Microsoft authentication scheme configured later in this sample will automatically handle requests at `/signin-microsoft` route to implement the OAuth flow.
2931
* Select **Register**
3032

0 commit comments

Comments
 (0)