我正在尝试从access-token获取声明。我在header中从id-token获得声明,但不是从access-token获得。我有authType作为openid-connect,因为它是Human to web身份验证。我得到了加密的访问令牌OIDC_ACCESS_TOKEN,但我想要的是json格式的解密的访问令牌,并添加了声明。我可以使用mod_auth_openidc中的任何配置来实现相同的功能吗?
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
1条答案
按热度按时间twh00eeo1#
在apache conf文件中使用:
参考:https://github.com/OpenIDC/mod_auth_openidc/issues/76#issuecomment-114924260