question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable custom storage interfaces for MSAL Browser

See original GitHub issue

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

Library

  • msal@1.x.x or @azure/msal@1.x.x
  • @azure/msal-browser@2.x.x
  • @azure/msal-angular@0.x.x
  • @azure/msal-angular@1.x.x
  • @azure/msal-angularjs@1.x.x

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 😃

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
PetrPospisilcommented, Jun 29, 2022

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

0reactions
Alinocommented, Jul 21, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize browsers & WebViews (MSAL iOS/macOS)
Learn how to customize the MSAL iOS/macOS browser experience to sign in users.
Read more >
@azure/msal-browser - npm
The MSAL library for JavaScript enables client-side JavaScript applications to authenticate users using Azure AD work and school accounts (AAD), ...
Read more >
Microsoft Authentication Library for JavaScript (MSAL.js)
The MSAL library for JavaScript enables client-side JavaScript web applications, running in a web browser, to authenticate users using Azure AD work and ......
Read more >
Deep dive on using MSAL.js to integrate Angular single-page ...
Your browser can't play this video. ... Coding walk-through includes subscribing to MSAL events, protecting routes using MSAL Angular Guard, ...
Read more >
xss - MSAL in Chrome Extension: Secure Token Storage
Storing tokens in browser storage is only one part of the story. Azure AD takes additional steps for increasing security.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found