简体   繁体   English

Python,有没有办法登录谷歌云身份,然后通过 SAML 连接到 Azure AD?

[英]Python, Is there any way to login to google cloud identity that then connects through SAML to Azure AD?

As in the user clicks a link, and instead of being presented with google login page he is presented with azure, however in the backend the server connects through oauth to google cloud identity and then shows the user the SAML login page for Azure.当用户单击链接时,他会看到 azure,而不是显示 google 登录页面,但是在后端,服务器通过 oauth 连接到 google 云身份,然后向用户显示 Azure 的 SAML 登录页面。

Below an image that represents what I mean在代表我的意思的图像下方在此处输入图片说明

Keeping in mind I already have third party SSO enabled, and already tested logging in to google console from Azure AD and it works fine, however when I try to do it programatically by calling google Oauth2 I get the login page from google, then then the login page from Azure and finally an error.请记住,我已经启用了第三方 SSO,并且已经测试了从 Azure AD 登录 google 控制台并且它工作正常,但是当我尝试通过调用 google Oauth2 以编程方式执行此操作时,我从 google 获取登录页面,然后来自 Azure 的登录页面,最后出现错误。

I suggest following this guide in Federating Google Cloud with Azure Active Directory: Configuring provisioning and single sign-on .我建议遵循将Google Cloud 与 Azure Active Directory 联合:配置配置和单点登录中的本指南。 The login process should function similarly to what you detailed. 登录过程的功能应该与您详述的类似。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过Python Web API的Azure AD身份验证 - Azure AD Authentication through Python Web API 有没有办法获得谷歌云任务状态? - Is there any way to get google cloud task status? Python 请求 - SAML 登录重定向 - Python Requests - SAML Login Redirect 使用 Workload Identity Federation 对 Python 中的 Google-Cloud-Storage 进行身份验证 - Authenticate Google-Cloud-Storage in Python using Workload Identity Federation Google Cloud Storage + Python:有什么办法可以在 GCS 的某个文件夹中列出 obj? - Google Cloud Storage + Python : Any way to list obj in certain folder in GCS? 有什么方法可以将 Python 的 nltk.download('punkt') 导入 Google Cloud Functions? - Any way to import Python's nltk.download('punkt') into Google Cloud Functions? 通过python访问Google云存储时出错 - Error accessing google cloud storage through python Azure AD / Python AA - Azure AD / Python AA Azure AD 验证与 python - Azure AD validation with python 如何使用来自 Azure Cloud Function (python) 的用户管理身份向 Azure KeyVault 发出请求? - How to use User-Managed Identity from Azure Cloud Function (python) in making a request to Azure KeyVault?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM