mitodl / mit-open

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

adding post logout redirect to logout url #1192

Closed shanbady closed 1 week ago

shanbady commented 1 week ago

What are the relevant tickets?

Closes #https://github.com/mitodl/hq/issues/4745

Description (What does it do?)

This PR simply adds a 'post_logout_redirect_uri" parameter to the logout url.

How can this be tested?

I dont have a real way of testing this locally howver the settings change that let this happen on the keycloak side are already in place on rc.

What i would try is:

  1. login on https://mitopen-rc.odl.mit.edu/
  2. logout - you should land on a kaycloak page that tells you that you are logged out.
  3. in the url add post_logout_redirect_uri=https://mitopen-rc.odl.mit.edu/ and refresh. it should land you on the homepage.
shanbady commented 1 week ago

pre-commit.ci run