apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.27k stars 2.48k forks source link

Open Id connect- addition params is not working #10871

Open akshay-k28 opened 7 months ago

akshay-k28 commented 7 months ago

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

kayx23 commented 7 months ago

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?

akshay-k28 commented 7 months ago

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

shreemaan-abhishek commented 6 months ago

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