-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] docs: update 06.auth.teamsSSO.messageExtension setup guide (#999)
## Linked issues closes: #984 ## Details 1. Change teams-ai dependency to remote version 2. Update wording 3. Provide differences comparing with other auth sample 4. Change link to relative path 5. Remove install dependency step from `teamsapp.local.yml` ## Attestation Checklist - [x] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (we use [TypeDoc](https://typedoc.org/) to document our code) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes
- Loading branch information
1 parent
e122a67
commit d8eaa6a
Showing
7 changed files
with
55 additions
and
9 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
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,21 @@ | ||
# This file includes environment variables that will be committed to git by default. | ||
# Built-in environment variables | ||
TEAMSFX_ENV=dev | ||
APP_NAME_SUFFIX=dev | ||
|
||
# Updating AZURE_SUBSCRIPTION_ID or AZURE_RESOURCE_GROUP_NAME after provision may also require an update to RESOURCE_SUFFIX, because some services require a globally unique name across subscriptions/resource groups. | ||
AZURE_SUBSCRIPTION_ID= | ||
AZURE_RESOURCE_GROUP_NAME= | ||
RESOURCE_SUFFIX= | ||
|
||
# Generated during provision, you can also add your own variables. If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly | ||
BOT_ID= | ||
BOT_DOMAIN= | ||
AAD_APP_CLIENT_ID= | ||
AAD_APP_OBJECT_ID= | ||
AAD_APP_TENANT_ID= | ||
AAD_APP_OAUTH_AUTHORITY= | ||
AAD_APP_OAUTH_AUTHORITY_HOST= | ||
TEAMS_APP_ID= | ||
TEAMS_APP_TENANT_ID= | ||
AAD_APP_ACCESS_AS_USER_PERMISSION_ID= |
5 changes: 5 additions & 0 deletions
5
js/samples/06.auth.teamsSSO.messageExtension/env/.env.dev.user
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,5 @@ | ||
# This file includes environment variables that will not be committed to git by default. You can set these environment variables in your CI/CD system for your project. | ||
|
||
# If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly | ||
SECRET_AAD_APP_CLIENT_SECRET= | ||
SECRET_BOT_PASSWORD= |
18 changes: 18 additions & 0 deletions
18
js/samples/06.auth.teamsSSO.messageExtension/env/.env.local
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,18 @@ | ||
# This file includes environment variables that can be committed to git. It's gitignored by default because it represents your local development environment. | ||
|
||
# Built-in environment variables | ||
TEAMSFX_ENV=local | ||
APP_NAME_SUFFIX=local | ||
|
||
# If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly | ||
BOT_ID= | ||
BOT_ENDPOINT= | ||
BOT_DOMAIN= | ||
AAD_APP_CLIENT_ID= | ||
AAD_APP_OBJECT_ID= | ||
AAD_APP_TENANT_ID= | ||
AAD_APP_OAUTH_AUTHORITY= | ||
AAD_APP_OAUTH_AUTHORITY_HOST= | ||
TEAMS_APP_ID= | ||
TEAMS_APP_TENANT_ID= | ||
AAD_APP_ACCESS_AS_USER_PERMISSION_ID= |
5 changes: 5 additions & 0 deletions
5
js/samples/06.auth.teamsSSO.messageExtension/env/.env.local.user
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,5 @@ | ||
# This file includes environment variables that will not be committed to git by default. You can set these environment variables in your CI/CD system for your project. | ||
|
||
# Generated during provision, you can also add your own variables. If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly | ||
SECRET_AAD_APP_CLIENT_SECRET= | ||
SECRET_BOT_PASSWORD= |
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