-
-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid azure oauth redirect when using prefix #7676
Comments
This video shows the issues redirect-problem.mp4 |
I've also tried with |
Let's prioritize this fix along with the |
Can you easily test, what happens when you change it to? root_url = self.request.uri.replace(self._login_endpoint, '').split('?')[0]
if not root_url.endswith('/'):
root_url += '/' |
Yes. Every way of logging in and out works on laptop. I've tested with and without Some of the test cases would be | `uri` | `_login_endpoint` | `root_url` |
| - | - | - | - |
| /login? | /login | / |
| /login?next=%2F | /login | / |
| /signin? | /signin | / |
| /signin?next=%2F | /signin | / |
| /signin?next=%2Fscript | /signin | / |
| /mt-devops/panel/login? | /login | /mt-devops/panel/ | I'm not able to easily test this in JupyterHub or in Docker container on k8s. |
Related? #6935 |
No, unrelated. @MarcSkovMadsen Worked a little on setting up testing infra to make sure this doesn't regress after we fix it. One thing that I think we need to clarify (since some of what you said conflates the two) is that the root path and the |
I thought I was using and had to use |
panel==1.6.0
In trying to get azure oauth working in combination with a
--prefix
. I'm running on my laptop.I have the app
To serve the app I run
/mt-devops/panel/logout
url and click thelogin
button I end up at/mt-devops/panel
(not/mt-devops/panel/
)./mt-devops/panel/login
url I end up at/mt-devops/panel
(not/mt-devops/panel/
)./mt-devops/panel/
url I end up at/mt-devops/panel/
. THIS WORKS.The text was updated successfully, but these errors were encountered: