openshiftio / openshift.io

Red Hat OpenShift.io is an end-to-end development environment for planning, building and deploying modern applications.
https://openshift.io
97 stars 66 forks source link

Confusing redirection is possible during new user login #4563

Open ldimaggi opened 5 years ago

ldimaggi commented 5 years ago
Issue Overview

After clicking “Create My Account,” it was clear they had to go verify their email.  However, when they clicked the link in the email, it went to the Red Hat Developers web site and not OpenShift.io, which was very confusing.

It redirects back to OSIO if login/registration is initiated from OSIO - it is core feature of the keycloak. But there are some exceptions, eg if link from the email is opened in other browser window, some anonymizers are used in the browser etc, as keycloak looses track where user came from in this case. Looks like you hit this case.

Expected Behaviour

A user would not expect to be returned to RHD and not OpenShift.io

Current Behaviour

The user can sometimes be redirected to RHD.

Steps To Reproduce
  1. During a new account creation, open the email verification link in a different browser window to force the error.
Additional Information
ldimaggi commented 5 years ago

@Essjaysee Sarahjane here's the issue you requested - can you add any additional details?

joshuawilson commented 5 years ago

cc @openshiftio/uxd-team @alexeykazakov

joshuawilson commented 5 years ago

@gorkem I'm not sure who can fix this but I don't think it is any of us. Can you pass this to right team.