Skip to content

Add User-Agent header to OAuth requests #296

Description

@whyscream

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions