access-token claims not set apache openidc header(mod _auth_openidc)

zkure5ic  于 7个月前  发布在  Apache
关注(0)|答案(1)|浏览(53)

我正在尝试从access-token获取声明。我在header中从id-token获得声明,但不是从access-token获得。我有authType作为openid-connect,因为它是Human to web身份验证。我得到了加密的访问令牌OIDC_ACCESS_TOKEN,但我想要的是json格式的解密的访问令牌,并添加了声明。我可以使用mod_auth_openidc中的任何配置来实现相同的功能吗?

twh00eeo

twh00eeo1#

在apache conf文件中使用:

Header set OIDC_access_token "%{OIDC_access_token}e" env=OIDC_access_token

参考:https://github.com/OpenIDC/mod_auth_openidc/issues/76#issuecomment-114924260

相关问题