Is it possible to update browser cache after updating account details?
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
Hi there. I’m providing a form to allow users to update their profile data without leaving the app (SPA). The form posts data via fetch
to an API which is turn calls the graph API to update (patch) the user account (eg givenName, surname, and some custom attributes.)
This works great, but after successfully patching the user account, if I refresh the page, the msal library still has the old id claims in cache.
I need to update the browser cache to reflect the updated data. Is there an API I can use to do this?
Source
- Internal (Microsoft)
- Customer request
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to Clear Cache for All Major Browsers - Kinsta
And that's it – your Chrome browser cache is now empty. Press the Clear Data button to clear everything completely.
Read more >Clear cache & cookies - Computer - Google Account Help
On your computer, open Chrome. · At the top right, click More More . · Click More tools and then Clear browsing data....
Read more >Simple steps to refresh your web browser cache
Simply, On windows Press Ctrl+F5 and On Mac press Option+⌘ Command+E to empty your cache, and then ⌘ Command+R to refresh the page....
Read more >How to clear browser caches after upgrades
- Open a new, empty browser window and delete temporary internet files/history via the usual menu options. Please keep in mind that some...
Read more >When hitting F5 just isn't enough! - Refresh your cache
In the same way that your web browser has a cache of recent web pages, your Internet Service Provider (ISP) may be doing...
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
@badsyntax That is correct syntax.
@nickgmicrosoft @ktsakas Is it expected that ID token claims won’t be updated until the user initiates a new session (i.e. logout or login)?
This issue has been closed due to inactivity. If this has not been resolved please open a new issue. Thanks!