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 http client oauth authentication #105

Merged
merged 8 commits into from Dec 28, 2020
Merged

Conversation

SvenHamers
Copy link
Contributor

To also use this provider with api's that are secured by oauth authentication i added a oauth block.

This will eliminate the use of a hardcoded hearder with short living bearer tokens.

Copy link
Member

@DRuggeri DRuggeri left a comment

Choose a reason for hiding this comment

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

Thanks so much, @SvenHamers - this is a cool addition to the provider and I'm happy to merge it with a few requested adjustments.

restapi/provider.go Outdated Show resolved Hide resolved
restapi/provider.go Outdated Show resolved Hide resolved
restapi/api_client.go Outdated Show resolved Hide resolved
examples/provider_with_oauth.tf Show resolved Hide resolved
@DRuggeri DRuggeri merged commit 1e3c0a5 into Mastercard:master Dec 28, 2020
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.

None yet

2 participants