Acquire token silently
See original GitHub issueHi, Is there a way to have a function to refresh the token silently using the msal.acquireTokenSilent
function. This will help with refreshing the token silently instead of having a popup/redirect. Maybe a fallback could be a popup/redirect.
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Get a token from the token cache using MSAL.NET
Desktop, command-line, and mobile applications should first call the AcquireTokenSilent method to verify if an acceptable token is in the cache.
Read more >AcquireTokenSilent is Failing to acquire token silently?
AcquireTokenSilentAsync will try all ways it can to get you a valid token without prompting for an interactive auth request.
Read more >microsoft-authentication-library-for-js/acquire-token.md at dev
The acquireToken* methods abstract away the 2 steps involved in acquiring tokens ... Access tokens for previously consented scopes can be acquired silently....
Read more >ConfidentialClientApplication | microsoft-authentication ...
This class is to be used to acquire tokens for confidential client ... Otherwise, it is recommended that you use acquireTokenSilent() for silent...
Read more >ConfidentialClientApplication (msal4j 1.4.0 API) - javadoc.io
Acquires a security token from the authority using a refresh token previously received. CompletableFuture<IAuthenticationResult>, acquireTokenSilently( ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a PR out to improve the behavior of
acquireTokenSilent
as that function can be problematic right now. The msal team is currently working on some changes and I’m working with them to hopefully get that merge in@step-lee are you still working on that PR for MSAL? Looks like someone else is itching to get that into MSAL, and it would make a great improvement to this project 😃