Laniakearr commented on issue #8408:
URL: https://github.com/apache/apisix/issues/8408#issuecomment-1331489981

   For those who want to obtain Token as well, remember to set 
"set_id_token_header" to be true.
   `{
       "openid-connect": {
         "client_id": "Client ID",
         "client_secret": "Client secret",
         "discovery": 
"http://CASDOOR_HOSTNAME/.well-known/openid-configuration";,
         "introspection_endpoint_auth_method": "client_secret_basic",
         "logout_path": "/logout",
         "realm": "master",
         "redirect_uri": "http://APISIX_HOSTNAME/REDIRECTWHATYOUWANT";,
         "bearer_only": false,
         **"set_id_token_header": true,**
         "access_token_in_authorization_header": true,
         "set_access_token_header": true,
         **"set_userinfo_header": true,**
         "realm": "master"
       }
     }`
   Problem solved. Thanks for help :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to