apisix icon indicating copy to clipboard operation
apisix copied to clipboard

Open Id connect- addition params is not working

Open akshay-k28 opened this issue 1 year ago • 3 comments

Description

In OpenId connect, while we are doing token introspection. we need to pass one more parameter which is token_type_hint values. we have added authorization_params, but it is not taking value. This is not working.

"authorization_params": { "token_type_hint": "access_token" }

Environment

  • APISIX version (run apisix version):3.4.0
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):3.5.0
  • APISIX Dashboard version, if relevant:3.0.0
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

akshay-k28 avatar Jan 26 '24 12:01 akshay-k28

Can you elaborate how is this not working? Is the token_type_hint not added or the scenario you want to implement is not working as intended? What are you hoping to achieve with adding token_type_hint as an addition parameter?

kayx23 avatar Jan 26 '24 21:01 kayx23

when we checked generated token, token_type_hint value coming as NULL, we need to set token_type_hint ="access_token" as request body with key as "token_type_hint" and Value as "access_token". How can we send this request?

image

akshay-k28 avatar Jan 28 '24 13:01 akshay-k28

when the OIDC verification is successful you want to set the request body to token_type_hint="access_token"?

shreemaan-abhishek avatar Feb 15 '24 08:02 shreemaan-abhishek