-
Notifications
You must be signed in to change notification settings - Fork 529
[Doc Feature][4624790]Drafted the NAA prefetch section into NAA documentation. #13137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Acrolinx ScorecardsWe currently enforce a minimum score of 80. Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
More info about Acrolinx Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally. |
Learn Build status updates of commit 7dd3e98: ✅ Validation status: passed
For more details, please refer to the build report. |
@SirajShaik-MSFT please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
c2df4f7
Acrolinx ScorecardsWe currently enforce a minimum score of 80. Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
More info about Acrolinx Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally. |
Learn Build status updates of commit c2df4f7: 💡 Validation status: suggestions
msteams-platform/whats-new.md
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
Acrolinx ScorecardsWe currently enforce a minimum score of 80. Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
More info about Acrolinx Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally. |
Learn Build status updates of commit 06ed400:
|
File | Status | Preview URL | Details |
---|---|---|---|
msteams-platform/whats-new.md | View | Details | |
msteams-platform/concepts/authentication/nested-authentication.md | ✅Succeeded | View |
msteams-platform/whats-new.md
- Line 38, Column 24: [Warning: file-not-found - See documentation]
Invalid file link: './concepts/authentication/nested-authentication'.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
@@ -207,6 +207,55 @@ fetch(graphEndpoint, options) | |||
|
|||
``` | |||
|
|||
## Token Prefetching for Nested App Authentication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Token prefetching for nested app authentication (NAA)
@@ -207,6 +207,55 @@ fetch(graphEndpoint, options) | |||
|
|||
``` | |||
|
|||
## Token Prefetching for Nested App Authentication | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve performance and reduce authentication latency, nested app authentication (NAA) supports token prefetching. This feature enables the host to proactively acquire authentication tokens before the app launches, allowing faster access to protected resources.
"resource": "api://app.com/botid-33333ddd-0000-0000-0000-88888757bbbb", | ||
|
||
"nestedAppAuthInfo": [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msteams-platform/whats-new.md
Outdated
@@ -34,6 +34,8 @@ Discover Microsoft Teams platform features that are generally available (GA). Yo | |||
|
|||
Teams platform features that are available to all app developers.</br> | |||
**2025 July** | |||
|
|||
* ***July 21, 2025***: [Teams now supports token prefetching for apps using Nested App Authentication (NAA). This enhancement allows the host to proactively acquire authentication tokens before the app is launched, improving app startup performance and reducing latency.](./concepts/authentication/nested-authentication#token-prefetching-for-nested-app-authentication) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Teams now supports token prefetching for apps that use nested app authentication (NAA).
This enhancement enables the host to acquire authentication tokens proactively before the app launches, improving startup performance and reducing latency.
| `nestedAppAuthInfo` | Array | 5 | | An NAA token based on its contents will be prefetched when the tab is loaded. | | ||
| `nestedAppAuthInfo.redirectUri` | String | | ✔️ | Represents the nested app's valid redirect URI (always a base origin). | | ||
| `nestedAppAuthInfo.scopes` | Array | 20 | ✔️ | Represents the stringified list of scopes the access token requested requires. Order must match that of the proceeding NAA request in the app. | | ||
| `nestedAppAuthInfo.claims` | String | | | An optional JSON formatted object of client capabilities that represents if the resource server is CAE capable. Do not use an empty string for this value. If unsupported, keep the field undefined. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"claims": "{"access_token":{"xms_cc":{"values":["CP1"]}}}" - This format works.
"claims": "undefined" - This returns a nestedAppAuthInfo error.
"claims": "{}" - This format also works. Please mention this format if you plan to include "undefined".
bd08a23
Acrolinx ScorecardsWe currently enforce a minimum score of 80. Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
More info about Acrolinx Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally. |
Learn Build status updates of commit bd08a23:
|
File | Status | Preview URL | Details |
---|---|---|---|
msteams-platform/whats-new.md | View | Details | |
msteams-platform/concepts/authentication/nested-authentication.md | ✅Succeeded | View | |
msteams-platform/resources/schema/manifest-schema.md | ✅Succeeded | View |
msteams-platform/whats-new.md
- Line 38, Column 24: [Warning: file-not-found - See documentation]
Invalid file link: './concepts/authentication/nested-authentication'.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
Acrolinx ScorecardsWe currently enforce a minimum score of 80. Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
More info about Acrolinx Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally. |
Learn Build status updates of commit 437e4e7:
|
File | Status | Preview URL | Details |
---|---|---|---|
msteams-platform/whats-new.md | View | Details | |
msteams-platform/concepts/authentication/nested-authentication.md | ✅Succeeded | View | |
msteams-platform/resources/schema/manifest-schema.md | ✅Succeeded | View |
msteams-platform/whats-new.md
- Line 38, Column 24: [Warning: file-not-found - See documentation]
Invalid file link: './concepts/authentication/nested-authentication'.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
No description provided.