Skip to content

Commit 2b5ca24

Browse files
updates
1 parent ce48c0a commit 2b5ca24

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

articles/container-apps/token-store.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@ ms.author: cshoe
1111

1212
# Enable a token store in Azure Container Apps
1313

14-
Token stores are a repository for security tokens associated with your container app. When you use a store, your app is better able to achieve:
14+
A token store is a repository of security tokens associated with the users of a web application or its APIs. When your application code needs to access user profile data, you can use a token store to contact an authentication providers on the user's behalf.
1515

16-
- **Portability**: With authentication details stored independently of your application, you can easily switch the user security context as you move from development, to staging, to production.
16+
Common scenarios for a token store include:
1717

18-
- **Fault tolerance**: With your authentication data isolated from each container, your security profile is stable even if your container experiences problems.
18+
* Posting to the authenticated user's Facebook timeline
1919

20-
- **Centralized security**: With your security stored together, you can maintain your app's security tokens in a single place.
20+
* Read the user's corporate data using the Microsoft Graph API
21+
22+
You typically write code to collect, store, and refresh tokens in your application. With the token store, you can [retrieve the list of tokens](/azure/app-service/configure-authentication-oauth-tokens) when you need them, and [tell Container Apps to refresh them](/azure/app-service/configure-authentication-oauth-tokens) when they become invalid.
23+
24+
25+
26+
The ID tokens, access tokens, and refresh tokens are cached for the authenticated session, and they're accessible only by the associated user.
27+
28+
You enable a token store by configuring your container app with an Azure Storage account.
2129

2230
## Generate a SAS URL
2331

0 commit comments

Comments
 (0)