Opening a topic on our forum in Brave results in a redirect loop: instead of returning a 200 status, it returns a 302 status with a Location header pointing to the same URL (at which point it repeats the same request and gets the same response).
- The issue only happens in Brave; the site works correctly in Chrome and Safari.
- The issue does not happen when running the site locally.
- I cannot replicate the issue on community.nodebb.org.
- There are no errors in the logs.
- If left running for long enough, occasionally it will break out of the loop and show the correct page.
- We recently installed a fork of github.com/julianlam/nodebb-plugin-session-sharing (modified to get user data from Keycloak's
userinfo
endpoint rather than directly from the access token); the issue seems to be related to this plugin, since it went away when I deactivated the plugin and started happening again after I reactivated it.