Open
Description
Describe the bug
According to RFC 6749, a refresh of an access token only requires the grant_type and the refresh_token. However, an incoming request fails with the message [validation error]: key <code> => expected <[object Object]>, got <undefined>
.
To Reproduce
Steps to reproduce the behavior:
- Setup a oauth2 according to the docs, enable debug.
- request an access token (eg. via postman)
- place a
refresh token
request, with a body like{refresh_token: "12345xyz", grant_type: "refresh_token"}
- check the logs
Expected behavior
Refresh request should provide a fresh access token