Bug 1377854

Summary: provide functional URL when asking to renew token
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: copr-cliAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: clime, jkadlcik, msuchy, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 22:16:05 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 Kamil Páral 2016-09-20 19:56:35 UTC
Description of problem:

> Something went wrong:
> Error: Login invalid/expired. Please visit copr.fedorainfracloud.org/api to get or renew your API token.

Please change "copr.fedorainfracloud.org/api" to "https://copr.fedorainfracloud.org/api", so that people can directly click on that.

Thanks.

Version-Release number of selected component (if applicable):
copr-cli-1.55-1.fc25.noarch

Comment 1 clime 2016-10-12 15:45:49 UTC
Actually, the message comes from frontend.

Fixed by https://github.com/fedora-copr/copr/commit/2ae8404c.

Comment 2 Pavel Raiskup 2016-12-14 22:16:05 UTC
Thanks for the fix, I simplified this a bit more to avoid another configuration
option: https://pagure.io/copr/copr/c/4719ad9577bf

Anyways, this is in Fedora Copr production already - closing.