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

Authorization header gets generated twice for Basic Auth type request #8271

Closed
anilaselwyn-nbcuni opened this issue Apr 1, 2020 · 4 comments · Fixed by #8527
Closed

Authorization header gets generated twice for Basic Auth type request #8271

anilaselwyn-nbcuni opened this issue Apr 1, 2020 · 4 comments · Fixed by #8527

Comments

@anilaselwyn-nbcuni
Copy link

anilaselwyn-nbcuni commented Apr 1, 2020

Authorization header gets generated twice for Basic Auth type request

Steps to reproduce the behavior:

  1. Trying to get an amazoncongnito token
  2. Post request
  3. Use Authorization type Basic Auth with Valid username & password
  4. See curl

{code}
curl --location --request POST 'https://host-xyz'
--header 'Authorization: Basic xyz'
--header 'Cache-Control: no-cache'
--header 'Connection: keep-alive'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Host: xyz.amazoncognito.com'
--header 'Postman-Token: generated postman token'
--header 'User-Agent: PostmanRuntime/7.15.0'
--header 'accept-encoding: gzip, deflate'
--header 'content-length: '
--header 'cookie: XSRF-TOKEN=generated token'
--header 'Authorization: Basic xyz='
{code}

Error:
400 Bad Request

Expected behavior
200 and a good response

I'm unable to get rid of the headers that are generated twice

@shreys7
Copy link
Member

shreys7 commented Apr 1, 2020

Hey @anilaselwyn-nbcuni , can you mention the App version in which you are facing this issue?
Go to Settings icon(top right) -> Settings -> About

@anilaselwyn-nbcuni
Copy link
Author

anilaselwyn-nbcuni commented Apr 1, 2020 via email

@shreys7
Copy link
Member

shreys7 commented Apr 1, 2020

I tried reproducing this on Postman 7.21.1 but could not reproduce by the steps you mentioned above. Can you provide detailed steps to reproduce and/or screenshots, video recordings to help us solve the issue? @anilaselwyn-nbcuni
image
image

@anilaselwyn-nbcuni
Copy link
Author

anilaselwyn-nbcuni commented Apr 4, 2020 via email

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

Successfully merging a pull request may close this issue.

3 participants