Skip to main content

All Questions

Tagged with
1 vote
0 answers
39 views

How to build a library that can be used in various types of applications (executables, web, etc.) using msal-node?

I'm developing a library for authentication using @azure/msal-node, however, for each type of application, there is a specific class. For instance, ConfidentialClientApps for web app, web API, service/...
Simone's user avatar
  • 11
0 votes
0 answers
78 views

Chrome Web Extension Background Authentication

I am building a Chrome Web Extension that uses '@azure/msal-browser' to authenticate users into the app ultisiing chrome.identity and Microsoft oAuth authentication. When a user opens the extension it ...
Will W's user avatar
  • 105
0 votes
1 answer
375 views

How to use Microsoft Identity platform to login users on frontend and create users on backend

I'm creating an application for a company. Every user is going to exist within AzureAD, so I'm going to authenticate with Microsoft for these users to login to the app. This is my current logic flow: ...
Matthew Friemoth's user avatar
0 votes
1 answer
122 views

Which application should I register in Azure Active Directory B2C?

I am starting to develop a project where I am planning to use Azure AD B2C for Identity service to provide and handle authentication, Facebook login, .NET for my Web API, probably React or Vue for ...
userMB's user avatar
  • 13
0 votes
1 answer
524 views

allowRedirectInIframe set true MSAL is not working

Iframe azure login is not working even though set *allowRedirectInIframe: true. Here my try. MSALconfig const msalConfig = { auth: { clientId: "e440b5e5-3c66-43c0-8ab5-31a747c2377e", ...
klmuralimohan's user avatar
0 votes
1 answer
125 views

What is the best practice to give different results depending on users app role in an ASP.Net Core Application

I have a VueJS Frontend and an Asp.Net Core Backend. The user authenticates through the VueJS MSAL library in the Frontend and gives the resulting bearer token to the Backend with each request. I also ...
P D's user avatar
  • 33
0 votes
2 answers
509 views

OAuth 2.0 authorization how to validate token from vanilla JavaScript?

I m using auth 2.0 CODE flow in my application. I m able to success fully creating token with oauth2.0 . I m using Microsoft auth 2.0 with active directory. I don't want use MSAL.js I want to create ...
Maulik Dave's user avatar
0 votes
2 answers
2k views

In JavaScript, how can we use the Microsoft Authentication Library to request a JWT token for a client connection with an an integration user?

We have a microservice, composed in JavaScript, which needs to consume a second microservice. The second microservice requires the consuming application to provide a JWT token which claims "...
Brian Kessler's user avatar
1 vote
1 answer
2k views

Intermittent problem using loginPopup MSAL JS in a REACT

I'm using MSAL JS in order to authenticate users in react application developed using REACT. Sometimes login works perfectly, redirecting users to the home page of the app. Other times login popup ...
SB2020's user avatar
  • 21
0 votes
1 answer
861 views

MSAL 2.x returns existing authentication result for a different B2C policy

UPDATE 1 2021-10-24 We are using two different 'classic' sign-in/sign-up policies predating even MSAL 0.15. We don't use custom policies. I believe we can export them using the Manifest for the ...
G Mac's user avatar
  • 160
1 vote
2 answers
474 views

Problem with Azure AD B2C MSAL authentication

I'm trying to add basic authentication to a Vue.js spa. I'm following the tutorial on https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-single-page-app In case of the sample SPA ...
GUZ's user avatar
  • 647
2 votes
1 answer
3k views

Securing REST API Calls in SPAs using MSAL.js with Azure Active Directory - How to Pass Authentication Token to Bearer Strategy

I am creating a SPA using React and Express. I am trying to include authentication using MSAL.js and have looked at Microsoft's tutorials for SPA. I've been able to implement this with React using @...
oort's user avatar
  • 1,860
0 votes
1 answer
970 views

Microsoft Sign In Without Browser With Node

I'm working on a project that's trying to include microsoft sign in, in order to use information about the person that signed in. I'm doing this as a node js app that's run from my local machine, and ...
Joe Amphlett's user avatar
0 votes
0 answers
390 views

Msal.js not authenticating with google - Redirect uri issue

So I recently used the quickstart method from Azure to make a JS app which authenticates using the MSAL.js library. I am able to authenticate using the normal users in AD, however when adding in ...
Nilesh Magan's user avatar
6 votes
0 answers
5k views

How Do I Mock MSAL Authentication?

I have added authentication to my web app using MSAL which connects to Azure Active Directory B2C. This works fine when I am connected and can access the Microsoft site. However, it fails when I am ...
opticyclic's user avatar
  • 7,936

15 30 50 per page