Forums

obtain a token

I can't find an example of how to obtain a token on your website; could you give me a curl example?

I'm looking for something like this.

curl -X POST \
  https://your-auth-server.com/token \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "username=user" \
  -d "password=****" \
  -d "realm=provider/default-idp-2" \
  -d "client_id=registered-app-client-id" \
  -d "client_secret=registered-app-client-secret" \
  -d "grant_type=password"
 

Support

Looking for help? Check out the frequently asked questions on our support page.

Contact us

Send us a message. We'll get back to you as soon as we can.

Get Social