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

Where to pass in accessToken? #260

Closed
DianaLaa opened this issue Apr 1, 2022 · 2 comments
Closed

Where to pass in accessToken? #260

DianaLaa opened this issue Apr 1, 2022 · 2 comments

Comments

@DianaLaa
Copy link

DianaLaa commented Apr 1, 2022

I'm obtaining a token via the Connect API.
How do I use it?
Wherever your docs say yourApiKey, should I there pass in the accessToken?

@Viincenttt
Copy link
Owner

Hi @DianaKoenraadt ,

Mollie uses three types of authentication:

  • API keys
  • Organization access tokens
  • App access tokens

You can read more about the different types of authentication in the Mollie documentation: https://docs.mollie.com/overview/authentication

When using this library, you can pass in a api-key, oauth token or access token. Keep in mind that some authentication modes have additional fields, such as profileId and testmode.

Kind regards,
Vincent

@Viincenttt
Copy link
Owner

Closing the issue. Feel free to leave a comment if this is still an issue, then I will reopen it

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

No branches or pull requests

2 participants