luoluoyuyu commented on issue #6791:
URL: https://github.com/apache/apisix/issues/6791#issuecomment-1849238867

   hi @mehmetcuneyit 
   When I was reproducing this issue, I deployed Auth0 based on 
https://docs.api7.ai/apisix/how-to-guide/authentication/set-up-sso-with-auth0 
and my configuration was as follows, and I found that Auth0 already provides 
end_ session_enpoint, and it can redirect to the corresponding uri correctly 
after logging out. But  need to configure `Allowed Logout URLs` in Auth0.
   
   ```shell
   
   curl -i "http://127.0.0.1:9180/apisix/admin/routes/1"; -H "X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '
   {
    
     "uri":"/anything/*",
     "plugins": {
       "openid-connect": {
         "client_id": "",
         "client_secret": "",
         "discovery": "",
         "scope": "openid profile",
         "logout_path": "/anything/logout",
         "redirect_uri": "http://localhost:9080/anything/callback";,
         "post_logout_redirect_uri": "https://www.bing.com";
       }
     },
     "upstream":{
       "type":"roundrobin",
       "nodes":{
         "httpbin.org:80":1
       }
     }
   }'
   ```


-- 
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