Closed
Description
Describe the bug
I'm migrating from the EOL spring-security-oauth project and thus need to keep the responses identical.
I've started with the token endpoint and it's working well so far, however there are two differences that I do not know how to address:
For the token endpoint, the differences are:
jti
- old: included by default and identical to the one in the
access_token
body - new: could not find a way to include it
- old: included by default and identical to the one in the
token_type
- old:
bearer
(note the case) - new:
Bearer
- old:
Example
old
{
"access_token": "...",
"expires_in": 59,
"jti": "abcf9112-fa08-4474-a2df-....",
"scope": "sessions",
"token_type": "bearer"
}
new
{
"access_token": "...",
"expires_in": 59,
"scope": "sessions",
"token_type": "Bearer"
}
I feel like I'm missing something obvious but just can't find it in the docs.
To Reproduce
Default sample project
Expected behavior
- The
jti
is included by default, or a way to provide it. - A way to change the case of
token_type