msal

Login with AAD MSAL - Login is already in progress

核能气质少年 提交于 2020-08-27 06:43:13
问题 I have a ASP.net website, that uses MSAL to login. The issue I keep having is that, whenever the user logs in, then logs out again the user is redirected to a logout page. This page implements the new Msal.UserAgentApplication(msalConfig).logout() function, and redirects the user back to the login page. This all works perfectly. The login page will then automatically redirect the user back to the AAD login page. If the user then decides to login again, the result of MyMsalObject.GetAccount()

Get Authorization token to call API

匆匆过客 提交于 2020-08-11 11:09:09
问题 I'm trying to call the API that I created by following these directions, I got to the point where I can call the API from Developer Portal using the JWT token. Now I'm confused, how will the angular client app get this JWT token in order to call the API? Currently, users of the angular app are in the Active Directory (same AD that was used in directions to set up the API). The sign-in process is done through MSAL library. When I try to get the token by calling acquireTokenSilent and try to

Azure AD B2C Not getting Access Token

橙三吉。 提交于 2020-08-10 22:12:09
问题 I have a Single Page App (SPA) written in ReactJS. I am attempting to query the Graph API. I am using the msal.js library to handle my authentication. I am using Azure AD B2C to manage my accounts. What I have so far: I am able to login to Google and get my profile information back to my SPA. However, when an accessToken is requested, the result is empty. I am positive I'm doing something wrong and I'm guessing it's around my app registration and scopes. When I registered my app, it had a

Sign in with Apple - Button customization

别等时光非礼了梦想. 提交于 2020-08-10 19:27:43
问题 I have the custom policies working correctly with Apple Sign In but once I submitted to Apple for review they rejected my app because the button doesn't use the proper design/branding. Is there a way to customize the "Sign in with Apple" button with a logo and colors? From apple: Your app uses Sign in with Apple as a login option but does not use Sign in with Apple button design, branding and/or user interface elements appropriately as described in the Sign in With Apple Human Interface

Sign in with Apple - Button customization

你说的曾经没有我的故事 提交于 2020-08-10 19:27:16
问题 I have the custom policies working correctly with Apple Sign In but once I submitted to Apple for review they rejected my app because the button doesn't use the proper design/branding. Is there a way to customize the "Sign in with Apple" button with a logo and colors? From apple: Your app uses Sign in with Apple as a login option but does not use Sign in with Apple button design, branding and/or user interface elements appropriately as described in the Sign in With Apple Human Interface

Azure AD App Redirect URI for Chrome Exntension

江枫思渺然 提交于 2020-07-30 04:18:23
问题 I'm using the Microsoft Authentication Library for JavaScript (MSAL.js) version 1.3.2 in my chrome extension built on React JS. I have two login scenario I need to support in order to get a bearer token used in the rest of my application: promptLogin() handles the first time the user authenticates in my extension. getTokenAsync() handles acquiring a bearer token silently for a user who has already authenticated in my extension. This approach returns an id token that I do not use, should I?

Microsoft Graph API OrganizationFromTenantGuidNotFound using MSAL

亡梦爱人 提交于 2020-07-20 16:47:05
问题 In AAD App registration has Implicit Grant Flow to true; We have delegated permissions to User.Read and User.Read.All. private static getContext(): Msal.UserAgentApplication { if (AuthenticationService.Context) return AuthenticationService.Context; const logger = new Msal.Logger((_logLevel, message, _piiEnabled) => { console.log(message); }, { level: Msal.LogLevel.Verbose, correlationId: "12345" }); AuthenticationService.Context = new Msal.UserAgentApplication( Environment().authentication

How to open Android Outlook application from an external one

痞子三分冷 提交于 2020-07-18 05:27:17
问题 I'm currently developing an Android application in order to display home screen widgets. Those ones are related to Microsoft Outlook (Events + Messages) in order to show incoming events and unread new messages in a kind of dynamic tiles. The Msal graph library helps me a lot to authenticate and retrieve in formations which contains an identifier for each event / message results But now I want to know if the outlook application is installed on the user device and if there is a way to open