Project

Profile

Help

Issue #5779

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

Added by mdepaulo@redhat.com almost 2 years ago. Updated almost 2 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.)

Associated revisions

Revision 8b30fe89 View on GitHub
Added by Lubos Mjachky almost 2 years ago

Do not prepend a scheme to a token server in the Www-Authenticate header

In this commit, there was also updated the documentation. Before this commit, there was not mentioned that pulp_container expects a FQDN of a token server together with a port number. The additional setting CONTENT_HOST was created because the token server should expect only service names wihthout a scheme.

closes #5779 https://pulp.plan.io/issues/5779

Revision 8b30fe89 View on GitHub
Added by Lubos Mjachky almost 2 years ago

Do not prepend a scheme to a token server in the Www-Authenticate header

In this commit, there was also updated the documentation. Before this commit, there was not mentioned that pulp_container expects a FQDN of a token server together with a port number. The additional setting CONTENT_HOST was created because the token server should expect only service names wihthout a scheme.

closes #5779 https://pulp.plan.io/issues/5779

Revision db0b33eb View on GitHub
Added by Lubos Mjachky almost 2 years ago

Do not prepend a scheme to a token server in the Www-Authenticate header

In this commit, there was also updated the documentation. Before this commit, there was not mentioned that pulp_container expects a FQDN of a token server together with a port number. The additional setting CONTENT_HOST was created because the token server should expect only service names wihthout a scheme.

closes #5779 https://pulp.plan.io/issues/5779

(cherry picked from commit 8b30fe89dc51e1a1de00c18814f9ab8ef29e0826)

Revision db0b33eb View on GitHub
Added by Lubos Mjachky almost 2 years ago

Do not prepend a scheme to a token server in the Www-Authenticate header

In this commit, there was also updated the documentation. Before this commit, there was not mentioned that pulp_container expects a FQDN of a token server together with a port number. The additional setting CONTENT_HOST was created because the token server should expect only service names wihthout a scheme.

closes #5779 https://pulp.plan.io/issues/5779

(cherry picked from commit 8b30fe89dc51e1a1de00c18814f9ab8ef29e0826)

History

#1 Updated by ipanova@redhat.com almost 2 years ago

  • Tags Documentation added

#2 Updated by ipanova@redhat.com almost 2 years ago

  • Project changed from Docker Support to Container Support

#3 Updated by dkliban@redhat.com almost 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 62

#4 Updated by lmjachky almost 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to lmjachky

#5 Updated by lmjachky almost 2 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 62 to Sprint 63

#7 Updated by Anonymous almost 2 years ago

  • Status changed from POST to MODIFIED

#8 Updated by ipanova@redhat.com almost 2 years ago

  • Status changed from MODIFIED to POST

#9 Updated by ipanova@redhat.com almost 2 years ago

  • Status changed from POST to MODIFIED

#10 Updated by Anonymous almost 2 years ago

#11 Updated by ipanova@redhat.com almost 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#12 Updated by ipanova@redhat.com almost 2 years ago

  • Sprint/Milestone set to 1.0.0

Please register to edit this issue

Also available in: Atom PDF