Bug 1101332

Summary: [OpenID] Fedora authentication failed to redirect back to translate.zanata.org sometimes
Product: [Retired] Zanata Reporter: Yuko Katabami <ykatabam>
Component: Authentication-FedoraAssignee: Damian Jansen <djansen>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3CC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: 3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.4.3-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1814) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-31 06:42:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yuko Katabami 2014-05-26 23:50:10 UTC
Description of problem:
zanata.org kicks users out so frequently. 
I usually need to re-log-in about 10 times or more a day.
Also, when I login using Fedora account, the process requires re-try multiple times.

Version-Release number of selected component (if applicable): 3.3.2


How reproducible:
Always

Steps to Reproduce:
1. Login to zanata.org using your Fedora account
2. Check to see if you can log-in in one try
3. Monitor if you are kept logged in.

Actual results:
Login requires multiple tries.
Users are logged out frequently

Expected results:
Login should be successful in one try.
Users should not need to re-login so frequently.

Additional info:

Comment 2 Ding-Yi Chen 2014-06-17 00:57:43 UTC
This actually is 3 bugs.
1. Fedora authentication in translate.zanata.org does not always work.
   

2. The timeout is too short.
   This is addressed in Bug 958194.

3. Better post-timeout handling.
   This is addressed in Bug 1092790.

Comment 3 Ding-Yi Chen 2014-06-17 08:26:14 UTC
Description:

Fedora authentication in translate.zanata.org does not always work.
Quite often, the login process stucks at id.fedoraproject.org
which stats:

This is the Federated Open Authentication provider homepage.

You will be redirected to this application whenever another application requires you to authenticate.

But it never redirect back to zanata.


Version-Release number of selected component (if applicable):
Zanata 3.3.2 (20140227-2332)

How reproducible:
Sometimes, seems more likely to happend after a timeout session.

Steps to Reproduce:
1. Click at "Log In"
2. Click "Fedora"
3. Continue the login process.

Actual:
The URL stuck at id.fedoraproject.org
which stats:

This is the Federated Open Authentication provider homepage.

You will be redirected to this application whenever another application requires you to authenticate.

But it never redirect back to zanata.

Expected:
Redirect and login to zanata.org

Additional info:
Clearing cache help to mitigate the problem.

Comment 4 Ding-Yi Chen 2014-07-31 06:42:27 UTC
The fix for Bug 1120016 also fix this bug.