mirror of
https://github.com/keycloak/keycloak.git
synced 2026-02-11 17:59:09 -06:00
processGrantRequest in TokenEndPoint uses new TokenManager instead of this.tokenMananager
closes #20978
This commit is contained in:
committed by
Marek Posolda
parent
aff6cc1cbd
commit
a0d1ac6baa
@@ -180,7 +180,7 @@ public class TokenEndpoint {
|
||||
@Override
|
||||
public Response runInternal(KeycloakSession session) {
|
||||
// create another instance of the endpoint to isolate each run.
|
||||
TokenEndpoint other = new TokenEndpoint(session, new TokenManager(),
|
||||
TokenEndpoint other = new TokenEndpoint(session, tokenManager,
|
||||
new EventBuilder(session.getContext().getRealm(), session, clientConnection));
|
||||
// process the request in the created instance.
|
||||
return other.processGrantRequestInternal();
|
||||
|
||||
Reference in New Issue
Block a user