Home > front end >  Where are tokens stored after authentication with ADB2C?
Where are tokens stored after authentication with ADB2C?

Time:03-09

I am a beginner when it comes to authentication. I recently created a login screen using ADB2C's custom policies. I believe a token is issued at that time, where is it stored? cookie?localStrage? I'm sorry for my ignorance, but please let me know.

CodePudding user response:

It depends on the application type - did you develop a single page app[SPA], asp.net app, or windows WPF? Based on the client side library it will be stored - in case of browser based app, it will be in cookies or localStorage. For instance, if you used MSAL angular module in angular app, then the value of cacheLocation when you called PublicClientApplication method determines it.

  • Related