processGrantRequest in TokenEndPoint uses new TokenManager instead of this.tokenMananager
closes #20978
This commit is contained in:
parent
aff6cc1cbd
commit
a0d1ac6baa
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue