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

add three postman auth methods #190

Merged
merged 2 commits into from
Apr 13, 2022
Merged

add three postman auth methods #190

merged 2 commits into from
Apr 13, 2022

Conversation

povilasv
Copy link
Contributor

No description provided.

Copy link
Collaborator

@schoren schoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

t.Fatalf("missing key header %#v", req.Header)
}
assert.Len(t, tp, 1)
assert.Equal(t, tp[0], "token")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be Bearer token?

Copy link
Contributor Author

@povilasv povilasv Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@mathnogueira mathnogueira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just want to make sure the Authorization header value is right in the test.

Copy link
Member

@mathnogueira mathnogueira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested it and it seems to be working 😄

Co-authored-by: Matheus Nogueira <[email protected]>
@povilasv povilasv merged commit 883b98f into main Apr 13, 2022
@povilasv povilasv deleted the auth-methods branch April 13, 2022 14:55
@povilasv
Copy link
Contributor Author

Thanks for review folks :)

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

Successfully merging this pull request may close these issues.

3 participants