Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Cannot log in to OSIO; getting stuck on fabric8 login #2332

Open
rkratky opened this issue Feb 22, 2018 · 34 comments
Open

Cannot log in to OSIO; getting stuck on fabric8 login #2332

rkratky opened this issue Feb 22, 2018 · 34 comments

Comments

@rkratky
Copy link
Collaborator

rkratky commented Feb 22, 2018

Upon opening tab with OSIO, I got automatically logged out (happened same way in both Chrome and Firefox). When attempting to log back in (and after entering my log in credentials), I get redirected to:

account-exists

Clicking on Review profile shows:

update-account-info

Clicking on Submit returns me to previous screen. On the previous screen, clicking on Add to existing account opens:

fabric8-login

When trying to log in with my OSIO creds, I get:

fabric8-login-invalid

Clicking on the Red Hat Developers button shows the first screen again.

@rkratky rkratky changed the title Cannot log in to OSIO; getting stuck on abric8 login Cannot log in to OSIO; getting stuck on fabric8 login Feb 22, 2018
@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

I've investigated that this is happening for some accounts after the RHD keycloak's upgrade.
I personally couldn't get in using my real @redhat.com account, but worked for one of my test osio accounts.

I've investigated the issue and found out that the impacted users' RHD UUID has changed. We need to check with the RHD keycloak team about this.

What that means is that RHD is sending a different user uuid now after the upgrade!

@sbose78 sbose78 self-assigned this Feb 22, 2018
@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

I can confirm that logging in using the username works
Example, if my email address is [email protected] , i can login using abcd

@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

@rkratky can you check if you are able to login using your username and not email address?

@rkratky
Copy link
Collaborator Author

rkratky commented Feb 22, 2018

@sbose78, that doesn't work for me. When I click on LOG IN on OSIO homepage, I get directly to the ACCOUNT ALREADY EXISTS page (see 1st screenshot above).

@rkratky
Copy link
Collaborator Author

rkratky commented Feb 22, 2018

Explicitly logging out of RHD and then relogging (on RHD) with username only works for me, too.

@joshuawilson
Copy link
Member

Is this still a SEV1?

@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

Bumped it down.

@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

Closing because having to log in using the 'username' is a feature.

@sbose78 sbose78 closed this as completed Feb 22, 2018
@rkratky
Copy link
Collaborator Author

rkratky commented Feb 22, 2018

Closing

@sbose78 The behaviour is super-confusing. User getting redirected to the fabric8 pages, "account already exists", etc. -- is that all expected behaviour? I think users shouldn't see those pages at all, IMO.

having to log in using the 'username' is a feature.

That's a weird feature because other Red Hat websites have no problems with using e-mail addresses as usernames. I mean, we can document this, but I believe it would be a mistake to disallow e-mails for logging in.

@rkratky rkratky reopened this Feb 22, 2018
@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

@rkratky I understand the inconvenience. However, I doubt there's something that can be done to avoid this user experience - since this is a RHD side change that triggered this. :)

@alexeykazakov
Copy link
Member

alexeykazakov commented Feb 22, 2018

I put Sev1 back until we fully understand what is happening and what we can do about this.
Current behavior doesn't seem to be acceptable to me atm.

@sbose78
Copy link
Collaborator

sbose78 commented Feb 22, 2018

Agreed Alexey. Seems pretty weird to me, too.

@sbose78
Copy link
Collaborator

sbose78 commented Feb 23, 2018

Based on the update from the RHD team, it is unclear how many people are affected. I already know that a some redhatters have not been affected, while some have. However, the assumption is that the number of folks affected are small.

"this is mainly problem for RedHat employees as redhat automatically creates multiple accounts with same email in customer portal for employee, and even account where email is used as username is created for employee."

I would like to test out the following scenarios

  • Check if an existing non-redhat user is able to login smoothly.
  • check if a new non-redhat user is able to login smoothly.
  • Check if a new red hat user is able to login smoothly.

( red hat user = users with a @redhat.com account )

We can re-adjust severity based on the above, I think.

@cmoulliard
Copy link

If I use my "rh-gs-cmoullia" username, then I can log to "openshift.io" but
then it tells me that I'm still waiting approval

https://www.dropbox.com/s/b9kzq5282puldzh/Screenshot%202018-02-23%2019.04.50.png?dl=0

Can somebody approve my request please ?

@maxandersen
Copy link
Collaborator

If I use my "rh-gs-cmoullia" username, then I can log to "openshift.io" but
then it tells me that I'm still waiting approval

afaics your user account is [email protected] and that user was provisioned many months back. Was that account ever working ?

rh-gs-cmoullia looks like a complete new account ?

@cmoulliard
Copy link

I can access to openshift.io using as account [email protected]. Thanks

@alexeykazakov
Copy link
Member

More details about this issue - https://gitlab.cee.redhat.com/dtsd/housekeeping/issues/1402

@sbose78
Copy link
Collaborator

sbose78 commented Feb 28, 2018

This impacts OSO too .

screenshot from 2018-02-28 19-54-33

@sbose78
Copy link
Collaborator

sbose78 commented Mar 2, 2018

@pbergene @alexeykazakov now that we are not blocked with onboarding of users, should we re-consider the severity here?

We are in touch with Vlastimil regarding his code changes - which would take at least a week.

@pbergene
Copy link
Collaborator

pbergene commented Mar 2, 2018

Ack, I'll leave that to Alexey - I think it would be useful to keep it as a point on the triage call regardless (if not only to satisfy my curiosity ;))

@alexeykazakov
Copy link
Member

@rkratky RHD has been updated with a fix for this issue. Can you please verify if it now works for you when you login using your email?

@alexeykazakov
Copy link
Member

Login should now work for majority of affected users. We still can have issues with password reset for affected users and RHD team is working on the fix for the reset password thing. I de-escalated it to Sev-2. We are not blocked anymore.

@rkratky
Copy link
Collaborator Author

rkratky commented Mar 2, 2018

@alexeykazakov It works right away in Chrome. In Firefox, I first got the following:

weresorry

But when I go directly to RHD and log in through there, then head back to OSIO and click on LOG IN, it goes through.

@sbose78
Copy link
Collaborator

sbose78 commented Mar 3, 2018 via email

@rkratky
Copy link
Collaborator Author

rkratky commented Mar 5, 2018

@sbose78 It now works even without an incognito window. Thanks.

@kishansagathiya
Copy link

I am facing this issue on prod. Blocked on this.

@ldimaggi
Copy link
Collaborator

Just to confirm - you are seeing this issue TODAY? on https://openshift.io?

Was this working for you recently?

@sbose78
Copy link
Collaborator

sbose78 commented Jul 31, 2018

Nope, this has been happening for a long long time ( since the RHD keycloak upgrade in March ). Fix was to:

  • change the password
  • login using the username

@stevengutz stevengutz added priority/P4 Normal and removed priority/P4 Normal labels Aug 2, 2018
@sbose78
Copy link
Collaborator

sbose78 commented Sep 27, 2018

should be fixed as part of fabric8-services/fabric8-auth#350

@mvulavak
Copy link
Collaborator

mvulavak commented Oct 23, 2018

@sbose78 Is this still an issue?

@sbose78
Copy link
Collaborator

sbose78 commented Oct 23, 2018

@mvulavak , No, once we have this merged fabric8-services/fabric8-auth#689 - other bits will fall in place easily.

@sbose78
Copy link
Collaborator

sbose78 commented Oct 23, 2018

I mean - yes, still an issue :)

@sbose78
Copy link
Collaborator

sbose78 commented Jan 11, 2019

@xcoulon / @sbryzak I think the token management ( native logout support ) were the only things remaining before keycloak could be pulled out, right? fabric8-services/fabric8-auth#350

@alexeykazakov
Copy link
Member

@sbose78 here is the list of what left - #2772 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests