Bug 1377854 - provide functional URL when asking to renew token
Summary: provide functional URL when asking to renew token
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: copr-cli
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 19:56 UTC by Kamil Páral
Modified: 2016-12-14 22:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 22:16:05 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1324792 0 unspecified CLOSED Frontent should return correct links to internal copr if the cli token is outdated 2021-02-22 00:41:40 UTC

Internal Links: 1324792

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.


Note You need to log in before you can comment on or make changes to this bug.