Authentication changes
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/entra-docs · commit d64e977 · +1 −2 lines · also on GitHub
⋯ 3 unchanged lines
44
author: rwike77
55
manager: CelesteDG
66
ms.author: ryanwi
7
−ms.custom: has-adal-ref
87
ms.date: 04/10/2024
98
ms.reviewer: ludwignick
109
ms.service: identity-platform
⋯ 401 unchanged lines
412411
413412
If your app reuses authorization codes to get tokens for multiple resources, we recommend that you use the code to get a refresh token, and then use that refresh token to acquire additional tokens for other resources. Authorization codes can only be used once, but refresh tokens can be used multiple times across multiple resources. Any new app that attempts to reuse an authentication code during the OAuth code flow will get an invalid_grant error.
414413
415
−For more information about refresh tokens, see [Refreshing the access tokens](v2-oauth2-auth-code-flow.md#refresh-the-access-token). If using ADAL or MSAL, this is handled for you by the library - replace the second instance of `AcquireTokenByAuthorizationCodeAsync` with `AcquireTokenSilentAsync`.
414
+For more information about refresh tokens, see [Refreshing the access tokens](v2-oauth2-auth-code-flow.md#refresh-the-access-token). If using MSAL, this is handled for you by the library - replace the second instance of `AcquireTokenByAuthorizationCodeAsync` with `AcquireTokenSilentAsync`.
416415
417416
## May 2018
418417
⋯ 16 unchanged lines
Microsoft's Markdown source from MicrosoftDocs/entra-docs, © Microsoft Corporation, under MIT. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy 10 Oct 01:09 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.