Questions tagged [azure-ad-msal]
The Microsoft Authentication Libraries (MSAL) gives you the ability to add support for Azure Active Directory v2 (serves Microsoft Account and AAD) and B2C. Supports native clients such as Windows, iOS, OSX, Android, and Linux.
2,865
questions
1
vote
1
answer
30
views
MsalUiRequiredException: An error occured during token acquisition: No account or login hint was passed to the AcquireTokenSilent call
I have a problem with the login and don't know what to do.
I'm pretty sure it has to do with my program.cs:
using MudBlazor.Services;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using ...
0
votes
0
answers
24
views
The application cannot access the iOS keychain for the application publisher (the TeamId is null)
I am struggling with using MSAL to login to my .net maui app when running it on an iOS simulator. The issue occurs at the PublicClientApplicationBuilder. When I release the app on TestFlight I am able ...
0
votes
0
answers
48
views
Get The Accounts That Have Been Signed In Already In MSAL (MAUI)
Implementing MSAL in MAUI application.
Sign In process is created by using below snippet.
authenticationResult = await _identityClient
.AcquireTokenInteractive(AppSettings....
0
votes
1
answer
23
views
Using MSAL Go Library to do OIDC authentication
I have been playing with the MSAL Go library a few days and I am still struck with how to use it to do OIDC authentication to Microsoft EntraID. I keep getting the error in my browser
The redirect ...
0
votes
1
answer
86
views
Azure b2c - refresh token does not include custom claims
When a user logs in, I hit a REST API that verifies the username and password and returns some properties like personId, comUsername, wcfToken, and organizationCode. These properties are then returned ...
0
votes
0
answers
44
views
MSAL Outlook Graph API Not returning refresh token with access token
I am creating an auth flow for the user to allow Mail sending through our app for email automation so therefore I need to store the accessToken and the refreshToken in my DB to automatically send ...
0
votes
1
answer
87
views
Azure AD token for accessing Graph token
I need to access Microsoft Graph API using my API Scope and Audience.
I need to be able to acquire a token on behalf of a user in my API, using the token I received in my client mobile application. I ...
0
votes
1
answer
46
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
0
answers
22
views
Replacing the user import from oidc-library to MSAL
I am working on moving from oidc to msal. What should I be doing to replace instances of the oidc-client in my project. For example, what would be the MSAL library equivalents to oicd-client imports ...
0
votes
0
answers
85
views
Interactive Azure AD Authentication error
Inputs :
Web api app hosted in Azure
App in Azure AD registered as a public client (for graph api
purposes, I need an Interactive auth mode)
Locally, everything works well. I have set the ...
0
votes
0
answers
26
views
MSAL login pop-up is not showing user selection in docker image
I have streamlit application, which runs properly in local with MSAL login. but when try to run same code in docker image. code runs fine but pop-up to select user account is coming blank.
my login.py ...
0
votes
0
answers
21
views
How do I configure NGINX to maintain the session when Java web app redirects to Microsoft for authentication?
We have a Java web application that uses security very similar to examples provided by Microsoft for authentication (Microsoft Authentication Library).
We use Payara Enterprise as our Java application ...
1
vote
0
answers
29
views
Is there any way to perform a check before token acquisition when using MSAL Angular loginRedirect()?
I'm currently authenticating users in my Angular app using MSAL Angular connected to Entra AD. It all works perfectly, however I would like to perform an additional check on my database before the ...
0
votes
0
answers
22
views
Error: Uncaught (in promise): TypeError: Class constructor MsalGuard cannot be invoked without 'new'
I am using Microsoft Login in my Angular application and below is my version of Angular and Node.JS installed
Angular CLI: 16.2.14
Node: 18.17.1
I have created a module name "Home" in which ...
1
vote
1
answer
30
views
Browser remembering previous logged in account in MSAL iOS
I have integrated with the MSAL iOS library.
Few issues I have trouble resolving.
When I call signout as follows
[self.mMSALApplication signoutWithAccount:currentAccount signoutParameters:...