Skip to content

Commit cc0ab08

Browse files
committed
more
1 parent 2498a58 commit cc0ab08

18 files changed

+932
-932
lines changed

.env.sample.b2c

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
# This sample can be configured to work with Azure AD B2C.
2-
#
3-
# If you are using an Azure AD B2C tenant,
4-
# configure the B2C_TENANT_NAME variable with your tenant name, such as "contoso".
5-
B2C_TENANT_NAME=<your tenant name>
6-
7-
# You will also need to configure the following variables with your B2C policies.
8-
SIGNUPSIGNIN_USER_FLOW=B2C_1_signinpolicy
9-
10-
# Optionally, you may configure the following variables with your B2C policies.
11-
EDITPROFILE_USER_FLOW=B2C_1_ProfileEditPolicy
12-
RESETPASSWORD_USER_FLOW=B2C_1_Password_Reset_Policy
13-
14-
# The following variables are required for the app to run.
15-
CLIENT_ID=<client id>
16-
CLIENT_SECRET=<client secret>
17-
18-
# Your project's redirect URI that you registered in Azure Portal.
19-
# For example: http://localhost:5000/redirect
20-
REDIRECT_URI=<your redirect uri>
21-
22-
# The following variables are required if the app needs to call an API.
23-
#
24-
# Multiple scopes can be added into the same line, separated by a space.
25-
# Here we use a Microsoft Graph API as an example
26-
# You may need to use your own API's scope.
27-
#SCOPE=User.Read
28-
#
29-
# The sample app will acquire a token to call this API
30-
#ENDPOINT=https://graph.microsoft.com/v1.0/me
31-
1+
# This sample can be configured to work with Azure AD B2C.
2+
#
3+
# If you are using an Azure AD B2C tenant,
4+
# configure the B2C_TENANT_NAME variable with your tenant name, such as "contoso".
5+
B2C_TENANT_NAME=<your tenant name>
6+
7+
# You will also need to configure the following variables with your B2C policies.
8+
SIGNUPSIGNIN_USER_FLOW=B2C_1_signinpolicy
9+
10+
# Optionally, you may configure the following variables with your B2C policies.
11+
EDITPROFILE_USER_FLOW=B2C_1_ProfileEditPolicy
12+
RESETPASSWORD_USER_FLOW=B2C_1_Password_Reset_Policy
13+
14+
# The following variables are required for the app to run.
15+
CLIENT_ID=<client id>
16+
CLIENT_SECRET=<client secret>
17+
18+
# Your project's redirect URI that you registered in Azure Portal.
19+
# For example: http://localhost:5000/redirect
20+
REDIRECT_URI=<your redirect uri>
21+
22+
# The following variables are required if the app needs to call an API.
23+
#
24+
# Multiple scopes can be added into the same line, separated by a space.
25+
# Here we use a Microsoft Graph API as an example
26+
# You may need to use your own API's scope.
27+
#SCOPE=User.Read
28+
#
29+
# The sample app will acquire a token to call this API
30+
#ENDPOINT=https://graph.microsoft.com/v1.0/me
31+

.env.sample.entra-id

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
# This sample can be configured to work with Microsoft Entra ID.
2-
#
3-
# If you are using a Microsoft Entra ID tenant,
4-
# configure the AUTHORITY variable as
5-
# "https://login.microsoftonline.com/TENANT_GUID"
6-
# or "https://login.microsoftonline.com/contoso.onmicrosoft.com".
7-
#
8-
# Alternatively, use "https://login.microsoftonline.com/common" for multi-tenant app.
9-
AUTHORITY=<authority url>
10-
11-
# The following variables are required for the app to run.
12-
CLIENT_ID=<client id>
13-
CLIENT_SECRET=<client secret>
14-
15-
# Your project's redirect URI that you registered in Azure Portal.
16-
# For example: http://localhost:5000/redirect
17-
REDIRECT_URI=<your redirect uri>
18-
19-
# The following variables are required if the app needs to call an API.
20-
#
21-
# Multiple scopes can be added into the same line, separated by a space.
22-
# Here we use a Microsoft Graph API as an example
23-
# You may need to use your own API's scope.
24-
#SCOPE=User.Read
25-
#
26-
# The sample app will acquire a token to call this API
27-
#ENDPOINT=https://graph.microsoft.com/v1.0/me
28-
1+
# This sample can be configured to work with Microsoft Entra ID.
2+
#
3+
# If you are using a Microsoft Entra ID tenant,
4+
# configure the AUTHORITY variable as
5+
# "https://login.microsoftonline.com/TENANT_GUID"
6+
# or "https://login.microsoftonline.com/contoso.onmicrosoft.com".
7+
#
8+
# Alternatively, use "https://login.microsoftonline.com/common" for multi-tenant app.
9+
AUTHORITY=<authority url>
10+
11+
# The following variables are required for the app to run.
12+
CLIENT_ID=<client id>
13+
CLIENT_SECRET=<client secret>
14+
15+
# Your project's redirect URI that you registered in Azure Portal.
16+
# For example: http://localhost:5000/redirect
17+
REDIRECT_URI=<your redirect uri>
18+
19+
# The following variables are required if the app needs to call an API.
20+
#
21+
# Multiple scopes can be added into the same line, separated by a space.
22+
# Here we use a Microsoft Graph API as an example
23+
# You may need to use your own API's scope.
24+
#SCOPE=User.Read
25+
#
26+
# The sample app will acquire a token to call this API
27+
#ENDPOINT=https://graph.microsoft.com/v1.0/me
28+

.env.sample.external-id

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# This sample can be configured to work with Microsoft External ID.
2-
#
3-
# If you are using a Microsoft Entra External ID for customers (CIAM) tenant,
4-
# configure AUTHORITY as https://contoso.ciamlogin.com/contoso.onmicrosoft.com
5-
AUTHORITY=<authority url>
6-
7-
# The following variables are required for the app to run.
8-
CLIENT_ID=<client id>
9-
CLIENT_SECRET=<client secret>
10-
11-
# Your project's redirect URI that you registered in Azure Portal.
12-
# For example: http://localhost:5000/redirect
13-
REDIRECT_URI=<your redirect uri>
14-
15-
# The following variables are required if the app needs to call an API.
16-
#
17-
# Multiple scopes can be added into the same line, separated by a space.
18-
# Here we use a Microsoft Graph API as an example
19-
# You may need to use your own API's scope.
20-
#SCOPE=User.Read
21-
#
22-
# The sample app will acquire a token to call this API
23-
#ENDPOINT=https://graph.microsoft.com/v1.0/me
24-
1+
# This sample can be configured to work with Microsoft External ID.
2+
#
3+
# If you are using a Microsoft Entra External ID for customers (CIAM) tenant,
4+
# configure AUTHORITY as https://contoso.ciamlogin.com/contoso.onmicrosoft.com
5+
AUTHORITY=<authority url>
6+
7+
# The following variables are required for the app to run.
8+
CLIENT_ID=<client id>
9+
CLIENT_SECRET=<client secret>
10+
11+
# Your project's redirect URI that you registered in Azure Portal.
12+
# For example: http://localhost:5000/redirect
13+
REDIRECT_URI=<your redirect uri>
14+
15+
# The following variables are required if the app needs to call an API.
16+
#
17+
# Multiple scopes can be added into the same line, separated by a space.
18+
# Here we use a Microsoft Graph API as an example
19+
# You may need to use your own API's scope.
20+
#SCOPE=User.Read
21+
#
22+
# The sample app will acquire a token to call this API
23+
#ENDPOINT=https://graph.microsoft.com/v1.0/me
24+
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# This sample can be configured to work with Microsoft External ID with custom domain.
2-
#
3-
# If you are using a Microsoft External ID tenant with custom domain,
4-
# configure the OIDC_AUTHORITY variable as
5-
# "https://www.contoso.com/TENANT_GUID/v2.0"
6-
OIDC_AUTHORITY=<authority url>
7-
8-
# The following variables are required for the app to run.
9-
CLIENT_ID=<client id>
10-
CLIENT_SECRET=<client secret>
11-
12-
# Your project's redirect URI that you registered in Azure Portal.
13-
# For example: http://localhost:5000/redirect
14-
REDIRECT_URI=<your redirect uri>
15-
16-
# The following variables are required if the app needs to call an API.
17-
#
18-
# Multiple scopes can be added into the same line, separated by a space.
19-
# Here we use a Microsoft Graph API as an example
20-
# You may need to use your own API's scope.
21-
#SCOPE=User.Read
22-
#
23-
# The sample app will acquire a token to call this API
24-
#ENDPOINT=https://graph.microsoft.com/v1.0/me
25-
1+
# This sample can be configured to work with Microsoft External ID with custom domain.
2+
#
3+
# If you are using a Microsoft External ID tenant with custom domain,
4+
# configure the OIDC_AUTHORITY variable as
5+
# "https://www.contoso.com/TENANT_GUID/v2.0"
6+
OIDC_AUTHORITY=<authority url>
7+
8+
# The following variables are required for the app to run.
9+
CLIENT_ID=<client id>
10+
CLIENT_SECRET=<client secret>
11+
12+
# Your project's redirect URI that you registered in Azure Portal.
13+
# For example: http://localhost:5000/redirect
14+
REDIRECT_URI=<your redirect uri>
15+
16+
# The following variables are required if the app needs to call an API.
17+
#
18+
# Multiple scopes can be added into the same line, separated by a space.
19+
# Here we use a Microsoft Graph API as an example
20+
# You may need to use your own API's scope.
21+
#SCOPE=User.Read
22+
#
23+
# The sample app will acquire a token to call this API
24+
#ENDPOINT=https://graph.microsoft.com/v1.0/me
25+

0 commit comments

Comments
 (0)