wso2 是任何编码声明返回静态文本的方法 [英] wso2is any way to code claim to return static text
问题描述
使用 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]
这篇关于wso2 是任何编码声明返回静态文本的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!