Currently, when the enable-logout-redirect option is on, a user is redirected to $ISSUER/protocol/openid-connect/logout. This is not always the correct endpoint, and I believe that the end_session_endpoint from the discovery doc should be used if it is specified.
I have opened a PR(#619) to demonstrate how I think it should work, but I'm not 100% confident that this is the right approach
Currently, when the
enable-logout-redirectoption is on, a user is redirected to$ISSUER/protocol/openid-connect/logout. This is not always the correct endpoint, and I believe that theend_session_endpointfrom the discovery doc should be used if it is specified.I have opened a PR(#619) to demonstrate how I think it should work, but I'm not 100% confident that this is the right approach