Reading access token from localstorage in auth0

I just want to know, how to read the access token from localstorage.
I have set my cache location as localstorage
Now the access token is available in localstorage but I can’t read it.

image

image

1 Like

Hi there @iamarjun715 welcome to the community!

I apologize for the delayed response on this one, but was looking through our backlog and wanted to respond to this. You’ll want to use the LocalStorageCache:

Hope this helps you or anyone else who may come across this in the future :crystal_ball:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.