oidc-gateway-demo/request.md

22 lines
745 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

场景1:
1: 该工程需要一个统一登录页面;
2: 通过统一登录页面,可以登录子系统;
3: 子系统可以退出登录;
4: 子系统可以创建用户,但是该用户只能登录该子系统;
5: 用户有两种类型,一种是租户,一种是子系统中创建的用户;
6: 租户可以登录哪些系统是需要配置的;
场景2:
1: 某个租户X有子系统A和子系统B的权限;
2: 租户X创建了用户Z该用户可以登录该租户创建的所有子系统;
方案:
显式选择租户
登录页面有租户下拉框或输入框,用户先选租户再输入用户名和密码。
适合租户数量不多、用户能记住自己租户的场景。
用户名约束:
同一租户中,用户名不可重复;