-
Notifications
You must be signed in to change notification settings - Fork 231
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
Blank login success page when /login
missing url params
#888
Comments
if we can come up with a reasonable default redirect, I would redirect a request to /login that did not specify a |
the project list seems like the most reasonable choice |
login server doesn't know anything about the console. I was considering redirecting to |
@liggitt I added if len(then) == 0 {
then = "/"
} right before this line https://github.com/openshift/origin/blob/master/pkg/auth/server/login/login.go#L172 and it successfully forwards to |
fixed in openshift/origin#11961 |
Related Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1369854
Opening this issue mostly for feedback / discussion
When logging in through the web-console without any redirect information
https://localhost:8443/login
, a blank page is displayed after a successful attempt. This makes sense, as the server only seems to attempt an http redirect if thethen
parameter it receives is not empty here https://github.com/openshift/origin/blob/master/pkg/cmd/server/origin/auth.go#L757-L764In order to avoid this however, I was wondering if there could simply be a default value for the
then
parameter that is sent to the server? Also, would a change like this take place on the login page template? https://github.com/openshift/origin/blob/master/pkg/auth/server/login/templates.go#L2399cc @liggitt @fabianofranz @jwforres
The text was updated successfully, but these errors were encountered: