microsoft-authentication-library-for-js icon indicating copy to clipboard operation
microsoft-authentication-library-for-js copied to clipboard

Enable custom storage interfaces for MSAL Browser

Open avbdev opened this issue 4 years ago • 8 comments

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

Description

The authentication using webView in VSCODE is really challenging becuase of it's design which doesn't allow the localStorage and sessionStorage instead it provides it's own custom storage options. It would be great to have this MSAL libraries to support the vscode kind for it's cache location and help developers life easy :-)

avbdev avatar May 03 '20 12:05 avbdev

@avbhardwaj Thanks, we'll investigate and take this under consideration.

jasonnutter avatar May 05 '20 18:05 jasonnutter

This will be supported via #2060

jasonnutter avatar Sep 01 '20 23:09 jasonnutter

@jasonnutter Do we know what the latest on this issue is?

sameerag avatar Apr 02 '22 04:04 sameerag

@sameerag This would require custom storage, we have not been able to prioritize.

jasonnutter avatar Apr 04 '22 15:04 jasonnutter

Hi, what is the status of this. We want to use it in our angular project. Thx

PetrPospisil avatar Jun 29 '22 11:06 PetrPospisil

I created my forked version with similar changes from the master branch. I have tested it manually and it works, but it is still synchronous. I will try to make it work with async.

https://github.com/Alino/microsoft-authentication-library-for-js/tree/customStorage

Alino avatar Jul 21 '22 19:07 Alino

Any news?

rendomnet avatar Jan 08 '23 05:01 rendomnet

its 2024 now and do we have any update on this issue?

vui611 avatar Jan 01 '24 11:01 vui611