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 the username in the authorization URL to tell AAD which account the user could use. If they are already signed-in, it won't prompt the user to select the account.



来源:https://stackoverflow.com/questions/53070296/how-to-suppress-the-login-screen-in-azure-aad-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!