Issue authenticating


#1

I am a new moltin user and am having issues authenticating, both from my test site and by using Postman.

I am sending this -
https://api.molt.in/oauth/access_token?client_id=jiMKuG8ACphcqxN4eTwS5FuWBVwhmw2CCuzIcGxXXX&grant_type=implicit

but get this error -
“moltin.min.js:3 POST https://api.molt.in/oauth/access_token net::ERR_NAME_NOT_RESOLVED”

any help appreciated


#2

Hey @djcamo

The API url is https://api.moltin.com

Can you let me know where you go the molt.in address? We may have some old docs floating around that reference that URL.

I should also mention that the client_id should be sent via Form URL Encoded.

curl -X POST https://api.moltin.com/oauth/access_token \
     -d "client_id=XXXX" \
     -d "grant_type=implicit"

Regards,
Jamie