Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uaa curl assumes host #62

Open
sneal opened this issue May 11, 2020 · 1 comment
Open

uaa curl assumes host #62

sneal opened this issue May 11, 2020 · 1 comment

Comments

@sneal
Copy link

sneal commented May 11, 2020

Uaa curl does not work with any host but the targeted UAA.

uaac curl https://not-uaa-host.example.com is handy with workflows where you use uaa to grab a bearer token and then issue curl requests that utilize that token. For example https://docs.pivotal.io/platform/healthwatch/1-8/api/free-chunks.html#get

Here's a sample that doesn't work so well

$ uaa curl https://healthwatch-api.sys.example.com/v1/info -v

GET /https:/healthwatch-api.sys.example.com/v1/info HTTP/1.1
Host: login.sys.example.com
Authorization: Bearer abcd
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/172775434

The labels on this github issue will be updated when the story is started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants