没有从 wso2 获得远程声明 [英] Not getting remote claims from wso2

查看:29
本文介绍了没有从 wso2 获得远程声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 wso2 IS 与另一个配置的身份提供商一起使用,例如:google、yahoo.当我登录表单 IDP 并重定向回回调 URL 时,我的应用程序调用 /outh2/token API 以根据 authorization_code 获取 id_token,但问题不是远程声明(IDP自定义声明属性),这是我在服务提供商映射中配置的.我不是所有用户都随机遇到了这个问题.

I have using wso2 IS with another configured identity provider like: google,yahoo. when i logged form IDP and redirect back to callback URL my application call /outh2/token API to fetch id_token base on authorization_code but the problem is not getting remote claim (IDP custom claim attribute) which i have configured in service provider mapping.I have facing this issues randomly not for all user.

成功声明日志:TID: [-1234] [] [2018-04-24 07:25:03,300] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - 从声明处理程序返回声明 = [middle_name:M,given_name:abc,family_name:xyz,email:abc.xyz@domain.com,]

Success claims Log:TID: [-1234] [] [2018-04-24 07:25:03,300] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - Returning claims from claim handler = [middle_name:M,given_name:abc,family_name:xyz,email:abc.xyz@domain.com,]

失败声明日志: 07:32:19,062] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - 返回声明来自索赔处理程序 = []

Failure claims Log: 07:32:19,062] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler} - Returning claims from claim handler = []

推荐答案

您似乎遇到了 [1] 中提到的问题.此问题已在 master 分支中修复,并且该修复程序可作为 IS-5.4.0 和 IS-5.5.0 的 wum 更新获得.您可以尝试 WSO2 Identity Server 的最新里程碑,也可以获取 IS 5.4.0 或 IS 5.5.0 的 wum 更新包.

Seems like you are facing the issue mentioned in [1]. This issue is fixed in master branch and also the fix is available as wum update for IS-5.4.0 and IS-5.5.0. You can either try the latest milestone of WSO2 Identity Server or get a wum updated pack of IS 5.4.0 or IS 5.5.0.

[1] https://github.com/wso2/carbon-身份框架/问题/1494

这篇关于没有从 wso2 获得远程声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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