Acess the browser storage data in DASH

We have a app build with Java and i was able to add my dash app in the overall app. The app does user authentication and store the username data in browser storage. I would like to use that user name to validate my user again using a AWS cognito API call. So my basic question is how to access the broswer local storage data. Just for calrity this is not dcc.store data. the data is written by other applicaition and i just want to access username from it.

Thanks

You can trigger a clientside_callback on page load that will look at the local storage and write it to a dcc.store which will trigger a server-side callback to validate it :slight_smile:

1 Like

Thank you for your quick reply. can you share a small code snippet. I am new to DASH and not sure if i follow all what you mentioned.