简体   繁体   English

从 Azure Active Directory 撤销管理员同意时通知客户端应用程序

[英]Notify client app when admin consent is revoked from Azure Active Directory

I have a Rails app to which a user can connect their Office365 account.我有一个 Rails 应用程序,用户可以将其 Office365 帐户连接到该应用程序。

In the scenario where the user has a work account and their admin gives consent to the required permissions, but afterwards revokes this consent by deleting the app from Azure Active Directory >> Enterprise Applications在用户拥有工作帐户且其管理员同意所需权限,但随后通过从Azure Active Directory >> 企业应用程序中删除应用程序来撤销此同意的情况下

How will my app know that the access has been revoked so that it can show an appropriate message to the user?我的应用程序如何知道访问权限已被撤销,以便向用户显示适当的消息? Is there a webhook call for this?是否有网络钩子调用? Is there a way to figure it out from a particular error response when the API calls are made?当进行 API 调用时,有没有办法从特定的错误响应中找出来?

If the customer has removed the app from their tenant, you will no longer be able to obtain an access token to make API calls.如果客户已从其租户中删除应用程序,您将无法再获取访问令牌以进行 API 调用。 The exact error message/experience depends on how exactly you are obtaining access token.确切的错误消息/经验取决于您获取访问令牌的准确程度。

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

相关问题 .Net Core MVC 应用与 IdentityServer4,使用 Azure Active Directory 登录。 管理员同意和权限问题 - .Net Core MVC app with IdentityServer4, login with Azure Active Directory. Problem with admin consent and permissions 设置提示=同意后,Azure Active Directory 需要管理员批准 - Azure Active Directory needs Admin Approval after setting prompt =consent Azure Active Directory同意缓存吗? - Is Azure Active Directory Consent Cached? Azure Active Directory登录:Web应用程序权限,未触发用户同意 - Azure Active Directory Login: Web App Permissions, User Consent not triggered 来自 Azure 门户的 Azure AD 管理员同意 - Azure AD admin consent from the Azure portal Azure 应用程序错误地请求管理员同意? - Azure app incorrectly requesting admin consent? Azure 企业管理员同意动态应用范围 - Azure enterprise admin consent to dynamic app scopes 如何在开发期间同意 Azure Active Directory 企业应用程序进行多租户登录而无需发布者批准? - How to consent to an Azure Active Directory Enterprise App for Multi-Tenant Login without Publisher Approval during development? Active Directory中的管理员同意 - Administrator Consent in Active Directory Azure多租户应用程序注册:添加“管理员同意”必需权限后会发生什么 - Azure Multi Tenant App Registration: What happens when I add an “Admin Consent” required permission
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM