You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using this library with Azure AD and have two app registrations: one is a application that needs to call an API in another app. I need to use Bearer Authentication and obtain an access token with a specific scope in order to call the API. In my SPA, which is built with Angular and uses MSAL, I am trying to acquire a silent access token with the required scope using the acquireTokenSilent method.
In a SPA in Angular with MSAL it looks like that and worked fine:
this.authService.acquireTokenSilent({
scopes: ['api://00000client_id00000/access_as_user'] // this is the required scope for api app
}).subscribe(result => {
// --> result.accessToken;
});
Is there a way I could solve this problem using the Jumbojett library?
Thanks
Sebastian
The text was updated successfully, but these errors were encountered:
Hi,
I am using this library with Azure AD and have two app registrations: one is a application that needs to call an API in another app. I need to use Bearer Authentication and obtain an access token with a specific scope in order to call the API. In my SPA, which is built with Angular and uses MSAL, I am trying to acquire a silent access token with the required scope using the acquireTokenSilent method.
In a SPA in Angular with MSAL it looks like that and worked fine:
Is there a way I could solve this problem using the Jumbojett library?
Thanks
Sebastian
The text was updated successfully, but these errors were encountered: