Project

Profile

Help

Issue #5779

closed

If TOKEN_SERVER includes http://, a duplicate http:// is in the realm

Added by mdepaulo@redhat.com almost 5 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 63
Quarter:

Description

If the setting TOKEN_SERVER is listed like: http://localhost:24816
rather than: localhost:24816

Then when you go to run:
$ http 'http://localhost:24816/v2/'

The output includes:
realm="http://http://localhost:24816/token

This may be a docs issue, or a code issue. Either way, it complicates users following the instructions:
https://pulp-container.readthedocs.io/en/latest/workflows/authentication.html
Which states "A fully qualified domain name of a token server" (And an FQDN would not include the port.)

Also available in: Atom PDF