Skip to content

Commit c8ddbb8

Browse files
committed
fix: [ory#754] Requester ID fix
1 parent 8b5f55e commit c8ddbb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handler/oauth2/flow_refresh.go

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func (c *RefreshTokenGrantHandler) HandleTokenEndpointRequest(ctx context.Contex
7777
return errorsx.WithStack(fosite.ErrInvalidGrant.WithHint("The OAuth 2.0 Client ID from this request does not match the ID during the initial token issuance."))
7878
}
7979

80+
request.SetID(originalRequest.GetID())
8081
request.SetSession(originalRequest.GetSession().Clone())
8182
request.SetRequestedScopes(originalRequest.GetRequestedScopes())
8283
request.SetRequestedAudience(originalRequest.GetRequestedAudience())

0 commit comments

Comments
 (0)