How to clear cache when using cert-based auth?
See original GitHub issueLibrary
-
msal@1.x.x
or@azure/msal@1.x.x
-
@azure/msal-browser@2.x.x
-
@azure/msal-node@1.x.x
-
@azure/msal-react@1.x.x
-
@azure/msal-angular@0.x.x
-
@azure/msal-angular@1.x.x
-
@azure/msal-angular@2.x.x
-
@azure/msal-angularjs@1.x.x
Description
After obtaining a token using certificate (ConfidentialClientApplication.acquireTokenByClientCredential), how can I clear the MSAL cache on logout? As far as I can tell, the only way to do it is by retrieving the account and removing it from the cache but since it’s app-only auth the Account property is empty.
Source
- Internal (Microsoft)
- Customer request
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Clear Browser Cache of Certificates Used for Authentication
If web server requests/requires client certificate, browser will automatically attempt to find and send client certificate for authentication.
Read more >Client Certificates and Logout - text/plain
Clearing the Auth Cache alone isn't enough– the browser also must clear/close any authenticated connections to the origin from the reuse pool, ...
Read more >How To Clear Local CRL and OCSP caches - StackPath Help
Open the Command Prompt or PowerShell and type the following: certutil -urlcache * delete · To only delete the CRL cache: certutil -urlcache...
Read more >How to clear the SSL state in a browser - A2 Hosting
Clear SSL State Chrome · Click the Google Chrome - Settings icon (Settings) icon, and then click Settings. · Click Show advanced settings....
Read more >Clear SSL client certificate state from JavaScript - Stack Overflow
The user tries to log in again, but the attempt automatically fails because the last SSL session was cached. I solved this in...
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
@waldekmastykarz This is a good point. We have missed this use case and marked it as an enhancement. We plan to pick this up in a couple weeks.
@samuelkubai will be picking this up in the next few days