-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
303 additions
and
245 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This sample can be configured to work with Azure AD B2C. | ||
# | ||
# If you are using an Azure AD B2C tenant, | ||
# configure the B2C_TENANT_NAME variable with your tenant name, such as "contoso". | ||
B2C_TENANT_NAME=<your tenant name> | ||
|
||
# You will also need to configure the following variables with your B2C policies. | ||
SIGNUPSIGNIN_USER_FLOW=B2C_1_signinpolicy | ||
|
||
# Optionally, you may configure the following variables with your B2C policies. | ||
EDITPROFILE_USER_FLOW=B2C_1_ProfileEditPolicy | ||
RESETPASSWORD_USER_FLOW=B2C_1_Password_Reset_Policy | ||
|
||
# The following variables are required for the app to run. | ||
CLIENT_ID=<client id> | ||
CLIENT_SECRET=<client secret> | ||
|
||
# Your project's redirect URI that you registered in Azure Portal. | ||
# For example: http://localhost:5000/redirect | ||
REDIRECT_URI=<your redirect uri> | ||
|
||
# The following variables are required if the app needs to call an API. | ||
# | ||
# Multiple scopes can be added into the same line, separated by a space. | ||
# Here we use a Microsoft Graph API as an example | ||
# You may need to use your own API's scope. | ||
#SCOPE=User.Read | ||
# | ||
# The sample app will acquire a token to call this API | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This sample can be configured to work with Microsoft Entra ID. | ||
# | ||
# If you are using a Microsoft Entra ID tenant, | ||
# configure the AUTHORITY variable as | ||
# "https://login.microsoftonline.com/TENANT_GUID" | ||
# or "https://login.microsoftonline.com/contoso.onmicrosoft.com". | ||
# | ||
# Alternatively, use "https://login.microsoftonline.com/common" for multi-tenant app. | ||
AUTHORITY=<authority url> | ||
|
||
# The following variables are required for the app to run. | ||
CLIENT_ID=<client id> | ||
CLIENT_SECRET=<client secret> | ||
|
||
# Your project's redirect URI that you registered in Azure Portal. | ||
# For example: http://localhost:5000/redirect | ||
REDIRECT_URI=<your redirect uri> | ||
|
||
# The following variables are required if the app needs to call an API. | ||
# | ||
# Multiple scopes can be added into the same line, separated by a space. | ||
# Here we use a Microsoft Graph API as an example | ||
# You may need to use your own API's scope. | ||
#SCOPE=User.Read | ||
# | ||
# The sample app will acquire a token to call this API | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This sample can be configured to work with Microsoft External ID. | ||
# | ||
# If you are using a Microsoft Entra External ID for customers (CIAM) tenant, | ||
# configure AUTHORITY as https://contoso.ciamlogin.com/contoso.onmicrosoft.com | ||
AUTHORITY=<authority url> | ||
|
||
# The following variables are required for the app to run. | ||
CLIENT_ID=<client id> | ||
CLIENT_SECRET=<client secret> | ||
|
||
# Your project's redirect URI that you registered in Azure Portal. | ||
# For example: http://localhost:5000/redirect | ||
REDIRECT_URI=<your redirect uri> | ||
|
||
# The following variables are required if the app needs to call an API. | ||
# | ||
# Multiple scopes can be added into the same line, separated by a space. | ||
# Here we use a Microsoft Graph API as an example | ||
# You may need to use your own API's scope. | ||
#SCOPE=User.Read | ||
# | ||
# The sample app will acquire a token to call this API | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This sample can be configured to work with Microsoft External ID with custom domain. | ||
# | ||
# If you are using a Microsoft External ID tenant with custom domain, | ||
# configure the OIDC_AUTHORITY variable as | ||
# "https://www.contoso.com/TENANT_GUID/v2.0" | ||
OIDC_AUTHORITY=<authority url> | ||
|
||
# The following variables are required for the app to run. | ||
CLIENT_ID=<client id> | ||
CLIENT_SECRET=<client secret> | ||
|
||
# Your project's redirect URI that you registered in Azure Portal. | ||
# For example: http://localhost:5000/redirect | ||
REDIRECT_URI=<your redirect uri> | ||
|
||
# The following variables are required if the app needs to call an API. | ||
# | ||
# Multiple scopes can be added into the same line, separated by a space. | ||
# Here we use a Microsoft Graph API as an example | ||
# You may need to use your own API's scope. | ||
#SCOPE=User.Read | ||
# | ||
# The sample app will acquire a token to call this API | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.