Skip to content

Conversation

@eric-boot
Copy link

According to League's UserEntityInterface the user identifier contains a mixed value. When using an integer for instance, this results in the following exception:
Argument 4 passed to Trikoder\\Bundle\\OAuth2Bundle\\Event\\ScopeResolveEvent::__construct() must be of the type string or null, int given, called in \/var\/www\/html\/vendor\/trikoder\/oauth2-bundle\/League\/Repository\/ScopeRepository.php on line 83

This could be prevented by accepting a mixed value as 4th argument to the constructor of ScopeResolveEvent.

…ing to League\OAuth2\Server\Entities\UserEntityInterface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants