Bug 1044158

Summary: Copr don't need to ask for username before it proceeds to OpenID FAS login
Product: [Community] Copr Reporter: Miro Hrončok <mhroncok>
Component: frontendAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 08:32:02 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:

Description Miro Hrončok 2013-12-17 21:33:16 UTC
Description of problem:
When I log into Copr, I have to put in my username only to be prompted again on FAS side.

This is indeed not needed. For example see FedoraHosted OpenID login link

https://fedorahosted.org/copr/openidlogin (see source)

Just use:

    'http://id.fedoraproject.org/'

Instead of:

    'http://{0}.id.fedoraproject.org/'.format(fasusername)

[coprs_frontend/coprs/views/misc.py]

And check for allowed usernames later, after you get the username from FAS.

Comment 1 Miroslav Suchý 2014-01-16 11:06:05 UTC
Fixed in upstream in commit 1958ff0