Closed nstratos closed 7 years ago
To get a token, username
and password
are also needed in the POST request:
curl --data 'grant_type=password&client_id=dd031b32d2f56c990b1425efe6c42ad847e7fe3ab46bf1299f05ecd856bdb7dd&client_secret=54d7307928f63414defd96399fc31ba847961ceaecef3a5fd93144e960c0e151&username=<username>&password=<password>' https://kitsu.io/api/oauth/token
This successfully returned a token.
Description: I am trying to do an authenticated request to the API by following the instructions in this thread. According to the instructions I have to provide
grant_type
,client_id
andclient_secret
parameters in the POST request to https://kitsu.io/api/oauth/token but when I do so I receive error 500.Steps to reproduce:
curl --data "grant_type=password&client_id=dd031b32d2f56c990b1425efe6c42ad847e7fe3ab46bf1299f05ecd856bdb7dd&client_secret=54d7307928f63414defd96399fc31ba847961ceaecef3a5fd93144e960c0e151" https://kitsu.io/api/oauth/token