Hi, I´m new in all these auth0 things.
I have an outdated token and want to call oauth/token but using refresh_token options.
Which headers should be added to the request? Also, which attributes should be listed in the body of the request?
I’ve been using just content-type for headers and next attributes for body:
- client_id
- client_secret
- audience
- grant_type
- refresh_token
- code
For now I have two paths that not sure which one should I follow:
if content-type uses application/json I received next message

On the other hand if content-type uses “application/x-www-form-urlencoded” next response is received

Another question, how could I get a proper value for code in body?
Thanks