Open lework opened 1 year ago
Hi lework, refer to https://github.com/apolloconfig/apollo/issues/4714 are we suffering the same problem ?
我也没找到好办法,暂时是配置preferred_username让某些地方能把两个都显示出来,就是有点长 囧 https://github.com/apolloconfig/apollo/blob/master/docs/zh/development/portal-how-to-implement-user-login-function.md#13-%E7%94%A8%E6%88%B7%E6%98%BE%E7%A4%BA%E5%90%8D%E9%85%8D%E7%BD%AE
描述bug
使用oauth2登录时,username 是openid,在授权的页面展示也是openid,对用户不友好
复现
期望
可以自定义claim-name 作为username的对应字段
截图
如果可以,附上截图来描述你的问题
额外的细节和日志