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.

How to port redirectUri page from ADAL.js to MSAL.js?

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

When building SPAs with ADAL.js you would implement a separate page for redirectUri that would only load adal.js and not the rest of your (heavy) SPA. This page would contain some minimal boilerplate code for processing the hash and then redirect back to the original application. The process is described in the adal.js wiki.

Should I implement something similar using MSAL.js? If so, how?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonnuttercommented, Mar 11, 2020

@rits-development I think we’ll be able to address this in #1358, so keep an eye on that issue.

@gabbsmo Is this still an issue for you?

0reactions
DarylThayilcommented, Mar 25, 2020

closing because question has been answered

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate your JavaScript application from ADAL.js to MSAL.js
For instance, you can use a different authority URI or redirect URI than the one you set during initialization when acquiring tokens.
Read more >
ADAL.JS with Mobile App - azure active directory
JS requires. I have the ADAL.JS part working from my PC using this example with a local Node/Webpack dev server for the redirect...
Read more >
@azure/msal-browser - npm
A vanilla JavaScript sample showing basic usage of the MSAL 2.0 library ( @azure/msal-browser package) with the Microsoft Graph API. npm start ...
Read more >
Authenticating users in JavaScript apps with MSAL.js August ...
Delivered live August 25, 2021: The Microsoft Authentication Library ( MSAL ) is the critical enabler for any developer who wants to connect ......
Read more >
Understanding the OAuth2 redirect_uri and Azure AD Reply ...
Hi Phil, I am trying to authenticate a Single Page Application Web App hosted in Azure using Azure AD, i m using adal.js...
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