-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert most built-in samples from json to dotenv
- Loading branch information
Showing
7 changed files
with
221 additions
and
120 deletions.
There are no files selected for viewing
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,26 @@ | ||
# 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> | ||
|
||
# Leave it empty if you are using a public client which has no client secret. | ||
CLIENT_SECRET=<client secret> | ||
|
||
# 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=<your scopes> | ||
|
||
# Required if the sample app wants to call an API. | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
||
# Required if you are testing the username_password_sample.py | ||
#USERNAME=<username> |
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,22 @@ | ||
# 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> | ||
|
||
# Leave it empty if you are using a public client which has no client secret. | ||
CLIENT_SECRET=<client secret> | ||
|
||
# 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=<your scopes> | ||
|
||
# Required if the sample app wants to call an API. | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
||
# Required if you are testing the username_password_sample.py | ||
#USERNAME=<username> |
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,23 @@ | ||
# 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> | ||
|
||
# Leave it empty if you are using a public client which has no client secret. | ||
CLIENT_SECRET=<client secret> | ||
|
||
# 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=<your scopes> | ||
|
||
# Required if the sample app wants to call an API. | ||
#ENDPOINT=https://graph.microsoft.com/v1.0/me | ||
|
||
# Required if you are testing the username_password_sample.py | ||
#USERNAME=<username> |
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
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.