#OAUTH authorizeHost, authorizePath, tokenHost, tokenPath
1 messages · Page 1 of 1 (latest)
Looks good to me. Are you running into any issues?
yes, Response Error 400 Bad Request now, when iam trying get access token from code
@naive scaffold @round pulsar Shouldn't authorizeHost be www.mollie.com instead of my.mollie.com?
Ow that looks like a docs-error ^^ says www.mollie.com while the docs on the authorize endpoint says my.mollie.com.
https://docs.mollie.com/reference/oauth2/authorize
Good catch 🙂
I created a PR for this.
@round pulsar what is the exact URL you are using? Seems like you use some package to build the URL..
yes, sure... iam just looking for that, iam using the one recomends the docs (simple-oauth2)
@naive scaffold Iam trying now with axios, this is where iam sending the request
and this is what i get:
also:
You are probably not sending the body as applicaiton/json.. you need to set your header Content-Type: application/json