adal

how to suppress the login screen in Azure AAD authentication

假如想象 提交于 2020-02-25 09:37:36
问题 I have created an Azure app. After granted by user(once in lifetime ), it fetches the users outlook mailbox data with help of accessToken. The Microsoft account is part of my org which uses SSO. So, if i am pre logged in via SSO in browser, how can I get rid of the un-neccesary login screen, which comes pre-populated with my email id, and I only have to click to choose the user account. How could i remove that login screen from this flow? 回答1: You can specify login_hint=user@domain.com with

how to suppress the login screen in Azure AAD authentication

不羁岁月 提交于 2020-02-25 09:37:25
问题 I have created an Azure app. After granted by user(once in lifetime ), it fetches the users outlook mailbox data with help of accessToken. The Microsoft account is part of my org which uses SSO. So, if i am pre logged in via SSO in browser, how can I get rid of the un-neccesary login screen, which comes pre-populated with my email id, and I only have to click to choose the user account. How could i remove that login screen from this flow? 回答1: You can specify login_hint=user@domain.com with

Azure Active Directory Safari Redirection Issue

时光怂恿深爱的人放手 提交于 2020-02-17 05:34:12
问题 There seems to be a current issue with logging into Microsoft Online with Mac OS and iOS devices utilizing the newest version of Safari (12). The updates on Safari 12 are shown here: https://developer.apple.com/safari/whats-new/ Due to some of the new Security and Privacy updates, there seems to be a cookie issue that is causing infinite redirection when logging into the endpoint: http://login.microsoftonline.com This new update causes Safari on Apple device users to go into a redirect

Azure Active Directory Safari Redirection Issue

人走茶凉 提交于 2020-02-17 05:33:52
问题 There seems to be a current issue with logging into Microsoft Online with Mac OS and iOS devices utilizing the newest version of Safari (12). The updates on Safari 12 are shown here: https://developer.apple.com/safari/whats-new/ Due to some of the new Security and Privacy updates, there seems to be a cookie issue that is causing infinite redirection when logging into the endpoint: http://login.microsoftonline.com This new update causes Safari on Apple device users to go into a redirect

asp.net mvc azure AAD authentication infinite loop

狂风中的少年 提交于 2020-02-03 04:19:39
问题 I have an asp.net mvc application with azure AAD sign in. When I press f5 to debug the application goes to azure to authenticate in AAD, then it goes back to the application to the controller, and its redirected back again to azure. I know this because If I put a breakpoint on the Sign In controller it gets hit infinitely This is my route config public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); //routes.IgnoreRoute(""); routes

Exception access Azure AD B2C using ADAL library for user management

北城以北 提交于 2020-01-26 03:31:07
问题 Since Microsoft Graph API doesn't have the feature to manage B2C AD Users, from one of the docs we have been asked to use ADAL which required to create a special application in the Azure AD B2C tenant. Created an application key to provide API access from the xamarin.ios app. AuthenticationContext authContext = new AuthenticationContext(authority); credential = new ClientCredential(clientId, GraphClientSecret); authResult = await authContext.AcquireTokenAsync(graphResourceUri, credential); At

CompactToken parsing failed with error code: 80049217 when using passport library to access Microsoft Graph API

狂风中的少年 提交于 2020-01-25 09:25:07
问题 I am using 'passport-azure-ad-oauth2' npm module, to get an access token, which I could then pass to the MS Graph API. passport.use(new AzureAdOAuth2Strategy({ clientID: process.env.OUTLOOK_CLIENT_ID, clientSecret: process.env.OUTLOOK_SECRET, callbackURL: '/auth/outlook/callback', }, function (accesstoken: any, refresh_token: any, params: any, profile, done) { logger.info('Completed azure sign in for : ' + JSON.stringify(profile)); logger.info('Parameters returned: ' + JSON.stringify(params))

How to get a token for downstream service in AAD

拟墨画扇 提交于 2020-01-24 11:32:54
问题 I have an MVC application in which I use OpenIdConnectAuthenticationMiddleware to authenticate the user against AAD. This MVC application uses a few backend services that require the user's authentication context. If I register these services separately in AAD, I can get a token for them using AuthenticationContext.AcquireTokenSilentAsync . But registering these services separately with AAD seems wrong as they would require the user to consent to them separately (they are really part of the

Angular SPA adal login calls Azure AD and reply URL, but doesn't return userInfo or isAuthenticated

久未见 提交于 2020-01-24 10:50:26
问题 I'm hoping to use Azure's Active Directory Service for authentication as part of an Angular SPA. To that end, I am trying to use Active Directory Authentication Library (ADAL) for JavaScript. But while it seems to correctly redirect to login services and, after credential entry, returns to the Reply URL, I am not able to get userInfo.isAuthenticated (userInfo is empty) within my controller. How would I go about debugging why authentication doesn't appear to be finishing? The following is my

Angular SPA adal login calls Azure AD and reply URL, but doesn't return userInfo or isAuthenticated

一曲冷凌霜 提交于 2020-01-24 10:50:07
问题 I'm hoping to use Azure's Active Directory Service for authentication as part of an Angular SPA. To that end, I am trying to use Active Directory Authentication Library (ADAL) for JavaScript. But while it seems to correctly redirect to login services and, after credential entry, returns to the Reply URL, I am not able to get userInfo.isAuthenticated (userInfo is empty) within my controller. How would I go about debugging why authentication doesn't appear to be finishing? The following is my