Questions tagged [msal]
32 questions
1
vote
0 answers
Failed verify the JWT: There is no issuer named https://sts.windows.net/{tenant}/
I know there is a lot of results when searching on the internet for the error in title but the solution proposed did not work so posting a new question.
I am trying to use to retrieve a token for my application using the following code.
import…

Serge Colle
- 11
- 2
1
vote
1 answer
Angular load user roles from core before use guard
please, I actually have an app.module that loads the core module via lazy loading. And I load the roles in the core component to the store. Then I have a role guard that goes into the store to look at those roles. When I load some /home page and…

pietro
- 143
- 1
- 9
1
vote
0 answers
Is there a way to trigger MFA programmatically for an in-app functionality to be run?
I have a .NET application using Azure AD and I'm trying to implement a functionality which will require the user to redo the MFA authentication to be able to run an action. Is there any way to do this in .NET?
There's nothing on this in the…

abdeniz
- 35
- 4
1
vote
2 answers
Angular 16 and MSAL 3.0: BrowserAuthError: native_broker_called_before_initialize
I'm building a angular 16 spa. When I try to add Msal 3.0 (beta) it throws a BrowserAuthError: native_broker_called_before_initialize Error. I tried to "migrate" the Msal Tutorial from Microsoft to Standalone Components. Has someone an complete…

TheLegend27
- 73
- 1
- 10
1
vote
1 answer
How do you make the ClientID a variable in a MAUI Blazor MSAL application
I am writing a MAUI Blazor Hybrid app using MSAL to Authenticate with a B2C Tenant. I have it working in our dev environment with an Azure B2C application ClientId that is used in two places.
Firstly to create the MSAL client…

Brian Graham
- 51
- 5
1
vote
0 answers
Sub claim missing from ADFS OnBehalfOf token
I'm using MSAL with ADFS2019 and I try to call an internal API on behalf of the authenticated user of my web app. I have a valid access token with some additional claims to identify the user :
{
"aud": "https://SRV",
"iss": "[***REMOVED***]",
…

mberube.Net
- 2,120
- 2
- 29
- 39
0
votes
1 answer
Parsing OData Select and Expand failed: Term 'customAttribute1', 'customAttribute2' is not valid in a $select or $expand expression
We want to retrieve only Personnalise(custom) user attributes using Python.
So far succès in getting token but failed at making requests to graph.
#code de chatgpt
import msal
# Replace with your Azure AD B2C configuration
tenant_id =…

Madeleine
- 1
- 1
0
votes
1 answer
MSAL angular. Net
Application -
.Net 6 web API
Angular frontend
SQL DB
.Net 6 Windows Service
I need to achieve following -
Authorization code flow, where angular app get the auth code and send it to .net 6 web api, which internally get the access token by auth…

Ishika Jain
- 949
- 2
- 11
- 23
0
votes
1 answer
MSAL node - in memory cache always empty when using ConfidentialClientApplication.acquireTokenByClientCredential
I am using msal node the latest version.
This is my code:
protected getConfidentialClientApplication(tenantId: string): ConfidentialClientApplication {
if (this.confidentialClientApplication) {
return…

RoG
- 411
- 4
- 20
0
votes
0 answers
MSAL library doesn't open a login window
I am writing a wpf application that uses Microsoft Graph Api to access and manage onedrive files.
I am able to login as a user with previous access token that is stored in the cache but when there isn't any token in the cache I want to fetch the…
0
votes
1 answer
ConfidentialClientApplicationBuilder bearer token unauthorized
I am trying to access Power BI web api from my web application. For msal, I can get the correct access token when I use PublicClientApplicationBuilder with my organizational email and password.
but I dont want that. It exposes my email and…

TanvirAhmedKhan
- 29
- 4
0
votes
0 answers
Powershell MSL.PS Federated Identity Credenatils
Looking for a PowerShell script that can mimic Federated Identity Credential based Token for SPs and MSIs. Assistance will be greatly appreciated.
I am looking for a PowerShell based script (using MSAL.PS preferably or) anything that can mimic Token…

Rishi Roy
- 1
- 1
0
votes
1 answer
Insufficient privileges to complete the operation while importing data from Microsoft Graph API using Python
I am trying to import the data using Microsoft graph APIs in Python. I am not a Python developer so I am unable to do so. I don't really have an idea how to use Secret_Key_Name and Secret_ID but I am guessing they act as username and password. I…

Dhiraj D
- 63
- 8
0
votes
0 answers
MSAL Confidential Client
I'm very new to .net.
I've started to integrate MSAL and getting an error:
AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope…

dotnetjunior
- 1
- 2
0
votes
0 answers
Angular msal xbox live scope
I try to find the easiest way to create a angular app, where a user has to authenticate with Microsoft including xboxlive consent so I can also get xboxlive data of a user.
I already implemented the logic in a java app with following flow:
Get…

Mat Kollin
- 9
- 4