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 User-Agent header to OAuth requests #296

Open
whyscream opened this issue Dec 28, 2022 · 0 comments
Open

Add User-Agent header to OAuth requests #296

whyscream opened this issue Dec 28, 2022 · 0 comments

Comments

@whyscream
Copy link
Contributor

Jonas at Mollie requested to add User-Agent headers to all API requests. We are already doing that for all Mollie data requests, but during the OAuth setup we use a different client (OAuth2Session from requests-oauthlib), which doesn't use the custom User-Agent when refreshing tokens etc.

NB We also have the X-Mollie-Client-Info header, we can add that too.

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

No branches or pull requests

1 participant