Closed btrd closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@btrd You can override the devise helper method after_sign_out_path_for
to redirect the user to the logout route of the middleware (/auth/:provider/logout
) with the post_logout_redirect_uri
parameter.
Awesome thanks !
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm using this gem with the Devise integration and I have trouble understanding how to use the
end_session_endpoint
andpost_logout_redirect_uri
parameters.By default Devise only clean the session and doesn't use the two parameters, therefore I'm not calling the provider sign_out endpoint.
If it helps the PR I'm currently working on https://github.com/betagouv/civilsdeladefense/pull/782