wso2 是任何编码声明返回静态文本的方法 [英] wso2is any way to code claim to return static text

查看:22
本文介绍了wso2 是任何编码声明返回静态文本的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 WSO2 身份服务器时,我需要将静态文本返回给一个服务提供商.服务提供商使用此文本来标识我们的用户与哪个租户相关联.

When using WSO2 Identity server I need to return static text to one service provider. This text is used by the service provider to identify which tenant our users are associated with.

有没有办法对声明进行编码以始终返回特定文本?

Is there a way to code a claim to always return a specific text?

谢谢,...拍

推荐答案

如果您需要识别用户所属的租户,您可以检索带有主题标识符的租户域.在本地和本地主题标识符"中启用在本地主题标识符中使用租户域"服务提供商的出站身份验证配置"部分.您可以从 [1]

If your requirement is to identify the tenant which the user belongs, you can retrieve the tenant domain with subject identifier. Enable 'Use tenant domain in local subject identifier ' in the 'Local & Outbound Authentication Configuration' section of the service provider. You can find more details from the documentation in [1]

[1] https://docs.wso2.com/display/IS510/Configuring+Local+and+Outbound+Authentication+for+a+Service+Provider

这篇关于wso2 是任何编码声明返回静态文本的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆