Questions tagged [msal]
The msal tag has no usage guidance.
msal
139
questions
0
votes
0
answers
47
views
Access Token not returned by /token Azure B2C
I've started attempting to create a SPA with Web API connectivity through Azure AD B2C. I've successfully done this in the normal Microsoft Entra Id. I am following this guide.
Here are details ...
0
votes
0
answers
29
views
Allow user to simply select an account rather than having to type in their Microsoft credentials everytime (Flutter, MSAL, AAD_OAUTH)
I was curious how I would be able to allow a user that just signed out of my app to click the Sign In button and have a screen like below appear.
When a user signs out of my app, it requires them to ...
0
votes
1
answer
51
views
MSAL Azure SSO React logout screen
I've implemented Azure active directory sso in my react application. I am trying to implement logout functionality using msalInstance.logoutRedirect function.
I want to achieve a solution where ...
0
votes
0
answers
23
views
Redirect to MSAL Login Page After Successful Google or Basic Authentication in Angular Application
I'm developing an Angular web application that uses MSAL, Google Auth, and basic username/password authentication. However, after a successful login with either Google Auth or basic authentication, ...
0
votes
1
answer
61
views
Why are PublicClientApplicationBuilder requires client(app) Secret?
My final goal is manage user's access token by refresh token.
I need token from user.
So, I tried this logic.
var app = PublicClientApplicationBuilder.Create(clientId)
.WithRedirectUri(redirectUri)...
0
votes
1
answer
51
views
Can't get OneNote data using graph api from microsoft
I'm trying to get a specific page data using the graph API.
If I try to run through https://developer.microsoft.com/en-us/graph/graph-explorer I can put it to work, also if I use the token generated ...
0
votes
0
answers
34
views
Calling canActivate function of all providers implementing CanActivate in Angular
I created a .NET DLL I want to use together with an Angular UI implementation.
The DLL offers some basic operations such as job monitoring. I also implemented some basic authentication that provides ...
0
votes
0
answers
59
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
0
answers
29
views
BrowserAuthError: empty_window_error: window.open returned null or undefined window object
I am developing a web-app which uses MSAL library for authentication process, when calling loginPopup() it throws below error. Please be kind enough to suggest the possible solutions for this problem.
...
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
27
views
Getting `PlatformException (PlatformException(AUTH_ERROR, No account is available to acquire token silently, null, null))` when using msal in Flutter
I'm needing to create the login/authorization process for a Flutter application that I'm working on and ran into this error: PlatformException (PlatformException(AUTH_ERROR, No account is available to ...
1
vote
1
answer
31
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:...
0
votes
0
answers
42
views
How to stop acquireTokenWithDeviceCode?
I'm using MSAL in an Android application. I'm using device-authentication-flow. It works fine.
My app calls acquireTokenWithDeviceCode, shows the url and devicecode and lets the user login.
However, ...
0
votes
1
answer
124
views
Android java MSAL Error: Failed to acquire token with Interactive Browser Authentication
In my Anroid Java app, I would like to offer users the option of searching for and downloading their files from Onedrive.
I use the Android Java example from official documentation.
The example works, ...
0
votes
0
answers
235
views
BrowserAuthError: popup_window_error: Error opening popup window on @azure/msal-browser 2.16.1
I have the following situation:
Package: @azure/msal-browser 2.16.1
Code:
try {
authResult = await installerMsal.loginPopup({
scopes: ...,
prompt: 'consent'
});
} catch (err) {
...
This ...