All Questions
Tagged with msal.js msal-react
46
questions
0
votes
0
answers
22
views
msal browser not retrieving new token for different clientId as check is only on account
We are using msal browser with session storage. We have mutiple applications on same domain so different applications load based on route. If one of our application is authenticated and we try to ...
0
votes
1
answer
55
views
Implementing Azure B2C single sign on shared between multiple apps
I want to implement SSO accross multiple apps. My requirement is that we will login in one app and switch between different apps withoout having to login again.
App 1- React Spa
App 2 - .Net based.
I ...
0
votes
1
answer
43
views
Get change notifications teams presence using Microsoft Graph API without delegated permissions
I am working on a application which needs ms teams change notifications for presence to update the frontend. The issue is this application will open in another application as an IFRAME, I have tried ...
0
votes
1
answer
139
views
Facing 401 error while calling an api in react js with MSAL setup
I am trying to use MSAL library by Microsoft in my react js project. We have done the app registration for both front-end(react js) and backend(api). Currently, I am testing this in my local machine ...
0
votes
1
answer
112
views
How do I use MSAL-react to get the oid of any user?
I'm new to MSAL and working on an Office js react add-in, which will be free to download and use with 'basic' features and require a subscription for 'pro' features. The subscription-purchase workflow ...
1
vote
0
answers
152
views
When logging in with MsalAuthenticationTemplate and it redirects me to my website, it gives a rendering error
When i go to my site it redirects me to the external login and i perform a login. Good so far, but then it redirects me to my site and i get the errors.
The two errors i get:
Warning: Cannot update a ...
0
votes
0
answers
39
views
Ionic React Android, unable to get access token after redirect
I'm using @ to get access token from azure ad b2c but I'm facing issues in android. in android it's showing error that Unable to complete authorization as there is no interactive call in progress. ...
0
votes
0
answers
86
views
msal-browser failed in Office Addin Dialog API
I am trying to use @azure/msal-browser and @azure/msal-react to enable Excel addin support microsoft sso and access Graph api.
Due to that Excel addin does not support access external url from Excel ...
3
votes
0
answers
287
views
Unable to run react jest test cases azure msal
I am working on react app, integrated msal library for azure authentications. I am trying to setup jest in project to run test cases. But i am getting error while running tests.
export { MsalConsumer,...
0
votes
0
answers
59
views
Microsoft sso login is not logging in the user neither getting details about the account
This is my react app which handles sso login using a subdomain and fetches configuration dynamically. This is my code for a hook which fetches configuration dynamically from database.
import { ...
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:
...
0
votes
1
answer
223
views
Why app react don't work in server dev? Using msal-react
My page authentication works perfectly in localhost, but in the dev server the page is blank and in the console: Error in server dev: The above error occurred in the MsalProvider component.
Help me, ...
0
votes
0
answers
111
views
msalIns.loginRedirect redirect to login page many times after login successfully
as pic showed above, when I signin, my auth page be redirected many times
this auth page is just a transition page to show login status
import { useEffect, useState } from 'react'
import { useMsal, ...
0
votes
1
answer
299
views
Unable to authenticate against azure fhir api from msal-react
I am trying to access the azure api for fhir from a react application. I am using msal-react 2.x. I get a 401 error when I try to access the "/Patient" rest endpoint. I have created a Azure ...
0
votes
1
answer
295
views
Passport-azure-ad MSAL Using BearerStrategy gives error
Client(React Js) - @azure/msal-react, @azure/msal-browser
Server(Express Js) - Passport-azure-ad
var options = {
identityMetadata:"https://login.microsoftonline.com/<tennant-id>/v2.0/....