Skip to content

Missing configuration to set parameter revokeRefreshTokens #81

@Tetragramat

Description

@Tetragramat

There is no way to disable refresh token revocation using configuration.

\League\OAuth2\Server\AuthorizationServer::revokeRefreshTokens

I'm actually forced to set the value using compiler pass and calling it before enableGrantType is called.

$authorizationServer = $container->getDefinition('League\OAuth2\Server\AuthorizationServer');
$calls = $authorizationServer->getMethodCalls();
array_unshift($calls, ['revokeRefreshTokens', [false]]);
$authorizationServer->setMethodCalls($calls);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions