You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can't use client_credentials credentials to get access and refresh tokens. These credentials are instead for using privileged APIs such as creating user accounts.
Can you explain what it is that you are trying to do?
Steps to reproduce
http://localhost:5000/api/token
Expected behaviour
Access and refresh keys should be provided
Actual behaviour
Error message 'unsupported_grant_type'
Browser/system information
MacOS running H in a local instance in docker.
Additional details
Requests info
Request Headers:
content-type:"application/x-www-form-urlencoded"
user-agent:"PostmanRuntime/7.3.0"
accept:"/"
host:"localhost:5000"
accept-encoding:"gzip, deflate"
content-length:141
Request Body:
grant_type:"client_credentials"
scope:""
client_id:"[removed]"
client_secret:"[removed]"
Response Headers:
server:"gunicorn/19.9.0"
date:"Wed, 10 Oct 2018 14:26:48 GMT"
connection:"close"
content-type:"text/html; charset=UTF-8"
content-length:"35"
referrer-policy:"origin-when-cross-origin, strict-origin-when-cross-origin"
x-xss-protection:"1; mode=block"
Response Body:
error:"unsupported_grant_type"
Request Headers:
content-type:"application/x-www-form-urlencoded"
user-agent:"PostmanRuntime/7.3.0"
accept:"/"
host:"localhost:5000"
accept-encoding:"gzip, deflate"
content-length:141
Request Body:
grant_type:"client_credentials"
scope:""
client_id:"[removed]"
client_secret:"[removed]"
Response Headers:
server:"gunicorn/19.9.0"
date:"Wed, 10 Oct 2018 14:40:00 GMT"
connection:"close"
content-type:"text/html; charset=UTF-8"
content-length:"35"
referrer-policy:"origin-when-cross-origin, strict-origin-when-cross-origin"
x-xss-protection:"1; mode=block"
Response Body:
error:"unsupported_grant_type"
The text was updated successfully, but these errors were encountered: