azure - Restricting User Access Azure B2C
问题描述
According to this documentation, I can restrict access to applications on an Azure tenant using enterprise applications.
I tried to set this up on my B2C Tenant but when I test my user flows, I can still log in to those applications and receive an ID token.
Should the restrictions also work on the B2C Tenant or is there a different process required for B2C?
解决方案
Using b2c User flows we can't restrict the user access. You need to handle this from the application side and also using Custom policy you can call the REST API in the user journey and can validate user restrictions.
推荐阅读
- azure - 为什么在 Python 中记录的自定义事件不会显示在 API Explorer 中?
- orchestration - 使用具有不同后端的 Netflix Conductor
- swift - Realm Swift Crash:已经在后台线程上以不同的模式模式打开
- javascript - 检查变量是否大于或等于一个数字并且小于或等于一个数字jquery
- php - 为什么使用公共 ip 连接到谷歌云 mysql 实例的 php pdo 失败,getaddrinfo failed: Name or service not known?
- javascript - 地图功能在 React js 组件中不起作用
- angular - 在 Visual Studio Code 中使用 Jest 调试 Angular 测试
- sql - 单独的参数表与将它们包装到单个表中,哪个更好?
- if-statement - Transact SQL - 选择语句中的枢轴
- javascript - 带有苗条的简单全屏 Mapbox 地图