如何在Azure AAD身份验证中隐藏登录屏幕 [英] how to suppress the login screen in Azure AAD authentication

查看:113
本文介绍了如何在Azure AAD身份验证中隐藏登录屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Azure应用。在得到用户的许可(生命周期
一次)后,它会在accessToken的帮助下获取用户Outlook邮箱数据。 Microsoft帐户是使用SSO的组织的一部分。因此,如果我是通过浏览器中的SSO预登录的,那么我该如何摆脱不必要的登录屏幕,该屏幕已预先填充了我的电子邮件ID,而我只需要单击以选择用户帐户。
如何从此流程中删除该登录屏幕?

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?

推荐答案

您可以指定 login_hint =user@domain.com 在授权URL中带有用户名,以告诉AAD用户可以使用哪个帐户。如果他们已经登录,则不会提示用户选择帐户。

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.

这篇关于如何在Azure AAD身份验证中隐藏登录屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆