Skip to main content

All Questions

Tagged with
0 votes
1 answer
3k views

Can I use acquireTokenByclientCredential using PublicClientApplication

I am migrating a NodeJS APP from ADAL to MSAL authentication. I am using API acquireTokenByClientCredintial for a PublicClientApplication but I am not able to get the Report. If I use ...
Kotana Sai's user avatar
  • 1,662
3 votes
2 answers
970 views

OpenIdConnectSecurityKeyProvider.RetrieveMetaData Exception - Unable to retrieve document from :'System.String'

This has been working for 3+ years. This morning everything is broken. My SPA uses a C# Web API on the backend and MSAL.js on the front end. Users Auth via O365 to get a Bearer Token, all web requests ...
Jeremy Bond's user avatar
1 vote
1 answer
318 views

[NodeJs Upgrading from ADAL to MSAL]: Cannot create property 'authenticationScheme' on string

We are Upgrading from ADAL to MSAL when doing so we are facing issues. The Code we implemented is const msal = require('@azure/msal-node'); const msalConfig = { auth: { ...
Kotana Sai's user avatar
  • 1,662
2 votes
1 answer
8k views

MSAL - MsalGuard on Redirect URI - getting into redirect loop

I'm implementing msal in my angular application and I'm using msal-v1 library. I have taken angular-7 sample from the documented samples and tried implementing the below code in my enterprise ...
RealSteel's user avatar
  • 1,911
2 votes
1 answer
3k views

Angular - Store MSAL AccessToken in browser cookies

Is there a way to configure msal-angular to store its accessToken configs in cookies rather than storing in localStorage/sessionStorage. I'm having security concerns about storing the token in ...
talhasaleem09's user avatar
21 votes
2 answers
33k views

Unable to acquire token silently or via redirect using msal-browser

I'm trying to develop a VueJS single page application that logs you into AAD so that I can get an access token to call various APIs (e.g. Graph). Once a user is logged in, you have to acquire a token ...
chivano's user avatar
  • 633
2 votes
1 answer
3k views

Multiple user sessions with SPA using MSAL

I have had a scenario come across a few times now where I require Password Grant flow in my SPA apps. For example, one user is logged into my single-page-application (SPA) using MSALjs. All API’s ...
Shawn Thornton's user avatar
1 vote
2 answers
2k views

Problems with cordova-plugin-ms-adal and iOS13

We are having problems with AD Azure authentication using cordova-plugin-ms-adal on iOS13. This is from a cordova application, packaged and installed on through the app store. It works fine on iOS12 ...
user469104's user avatar
  • 1,236
12 votes
1 answer
27k views

How to specify Resource URI when acquiring access token for Azure AD V2 endpoint?

I have used ADAL.js in a previous project which supported only work accounts and am able to successfully acquire idtokens and then accesstokens to an API (ResourceURI: "https://myresource.com"). Works ...
Sat Thiru's user avatar
  • 982