You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This took me a hot minut to debug why something like a SCOPE_ prefix did not work out of the box.
Symfony's RoleVoter uses a prefix for IsGranted to be able to vote. By default this is ROLE_. The easiest fix would be to add information about this to the documentation in the two places below. Where it is stated that it needs to start with the prefix defined for RoleVoter
A better fix would be to find what this prefix is and add it, if it is not already the prefix.
This took me a hot minut to debug why something like a
SCOPE_
prefix did not work out of the box.Symfony's RoleVoter uses a prefix for
IsGranted
to be able to vote. By default this isROLE_
. The easiest fix would be to add information about this to the documentation in the two places below. Where it is stated that it needs to start with the prefix defined forRoleVoter
A better fix would be to find what this prefix is and add it, if it is not already the prefix.
oauth2-server-bundle/docs/index.md
Lines 102 to 103 in e6eaf34
oauth2-server-bundle/src/DependencyInjection/Configuration.php
Lines 32 to 34 in f9f55a9
The text was updated successfully, but these errors were encountered: