Refresh token flow handler does not set the original request ID in the handler early enough #754
Open
4 of 6 tasks
Labels
bug
Something is not working.
Preflight checklist
Describe the bug
The requester ID for the Requester used in the refresh token flow should use the same ID as the original requester object. This is currently set just before the
CreateRefreshTokenSession
is called in the "Populate" step.Problems -
Alternatives -
Resolution -
request.SetID(originalRequest.GetID())
before https://github.com/ory/fosite/blob/master/handler/oauth2/flow_refresh.go#L80Reproducing the bug
This is not a bug that can be recreated without adding new handlers that consume the original request ID at specific places, such as at the end of token generation or request validation (
NewAccessRequest
).Relevant log output
Relevant configuration
N/A
Version
N/A
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Binary
Additional Context
No response
The text was updated successfully, but these errors were encountered: