-
Notifications
You must be signed in to change notification settings - Fork 234
Description
Describe the bug
Hi together,
Since the update to latest release v4.15.0 we are getting a redirect from our Sourcebot base URL to the /login page:
https://your-sourcebot-url -> https://your-sourcebot-url/login
http://ip-address:3000 -> http://ip-address:3000/login
Our Sourcebot instance has anonymous access enabled and this redirect behavior makes it more complicated for our users to access the code search.
Additionally, clicking the Continue as guest button only shows the the login page again.
In previous releases the redirect worked like this:
https://your-sourcebot-url -> https://your-sourcebot-url/~
http://ip-address:3000 -> http://ip-address:3000/~
To reproduce
Activate Enable anonymous access option
(Settings -> Access -> Access Control)
Log out of your account / Use incognito Tab
Try to open https://your-sourcebot-url
Try to open http://ip-address-of-your-sourcebot:3000
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1): v4.15.0
Deployment: Self-hosted setup with docker, using docker-compose.yml provided by documentation
(https://github.com/sourcebot-dev/sourcebot/blob/main/docker-compose.yml)
Additional information
Setting the ENVIRONMENT variable FORCE_ENABLE_ANONYMOUS_ACCESS does not change the redirect behavior.
Accessing the default Organization URL still works:
https://your-sourcebot-url/~ or http://ip-address-of-your-sourcebot:3000/~