配置 WSO2 IS 服务器以预先配置的格式发送令牌而不是 SAML 响应? [英] configure WSO2 IS server to send token in pre-configured format instead of SAML response?

查看:46
本文介绍了配置 WSO2 IS 服务器以预先配置的格式发送令牌而不是 SAML 响应?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 WSO2 身份管理服务器 (WSO2 IS) 用于 SSO.一旦用户通过身份验证,ID 服务器将 SAML 响应发送到网络应用程序.我希望 WSO2 IS 以预先配置的格式(如 user_name 和 user_role)发送令牌,而不是 SAML 响应.

I am using WSO2 Identity management server(WSO2 IS) for SSO . Once user is authenticated ID server sends the SAML response to webapp. I want WSO2 IS to send token in pre-configured format(like user_name and user_role) to be sent instead of SAML reponse.

推荐答案

WSO2IS 根据 SAML2 SSO 规范运行,因此用户名和用户的属性可以在 SAML2 断言中作为属性语句找到.自定义它没有灵活性.

WSO2IS acts according to the SAML2 SSO specification, Therefore username and user's attributes can be found inside the SAML2 Assertion as attribute statement. There is no flexibility to customize it.

但是,如果您不喜欢 SAML2 SSO(因为 SAML 是基于 XML 的),您可以使用 openid connect 来实现带有 WSO2IS 的 SSO.然后需要根据openid connect规范进行通信.WSO2IS 对它的支持,您可以从 此处 找到更多详细信息

But, if you do not like SAML2 SSO (As SAML is XML based), you can use openid connect to achieve the SSO with WSO2IS. Then you need to communicate according to the openid connect specification. WSO2IS support for it and you can find more details from here

这篇关于配置 WSO2 IS 服务器以预先配置的格式发送令牌而不是 SAML 响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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