Skip to content

Allow to disable encryption of localStorage #7611

Open
@JanStevens

Description

@JanStevens

Core Library

MSAL.js (@azure/msal-browser)

Wrapper Library

MSAL React (@azure/msal-react)

Public or Confidential Client?

Public

Description

Hi,

We use msal-react in a capacitor app (mobile), we noticed that upgrading to latest msal v4 and msal-react v3 that the localStorage is now being encrypted with a session token.

This means for mobile apps that from the moment you put the app to the background, the session is removed and you have to login again which makes the app completely unusable.

I would suggest to add a setting to disable the encryption (with proper warnings / indications / remarks) specifically for this case.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackAwaiting response from issue authorfeature-unconfirmedmsal-browserRelated to msal-browser packagemsal-reactRelated to @azure/msal-reactpublic-clientIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions