skip to Main Content

i’ve a teams react app, but from last chrome update, with msal i’m not able to save token authentication inside local session. That’s my configuration.

  • msal-broswer: 2.38.1
  • chrome version: 117
  • msal-configuration:
    `
{
    auth: {
        clientId: config.clientId,
        authority: Config.authority,
        redirectUri: config.redirectUri
    },
    cache: {
        cacheLocation: "localStorage",
        storeAuthStateInCookie: true,
    }
}

I tried to downgrade chrome version and everthings works fine

2

Answers


  1. Chosen as BEST ANSWER

    I solved it by taking inspiration from this link , I disable "Experimental third-party storage partitioning" from the experimental flag.


  2. Ensure that your MSAL library is up to date. Outdated versions might not be fully compatible with the latest browser changes.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search