Skip to content

API Authentication

Heikki Johannes Hildén edited this page Jan 10, 2018 · 3 revisions
curl \
  --request POST \
  --url https://farmradio.eu.auth0.com/oauth/token \
  --header 'Content-Type: application/json' \
  --data '{\
"client_id":"<client_id>", \
"client_secret":"<secret>", \
"audience":"http://127.0.0.1:8000/api/", \
"grant_type":"client_credentials"}'

OAuth2.0 Authorization Code Grant Flow