Skip to content

Commit

Permalink
Fixed wrong event name to league.oauth2_server.event.scope_resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshz committed Dec 15, 2021
1 parent a0b5585 commit 10f017d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/token-scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ security:
## Controlling token scopes
It's possible to alter issued access token's scopes by subscribing to the `league.oauth2_server.scope_resolve` event.
It's possible to alter issued access token's scopes by subscribing to the `league.oauth2_server.event.scope_resolve` event.

### Example

Expand Down Expand Up @@ -66,5 +66,5 @@ final class ScopeResolveListener
```yaml
App\EventListener\ScopeResolveListener:
tags:
- { name: kernel.event_listener, event: league.oauth2_server.scope_resolve, method: onScopeResolve }
- { name: kernel.event_listener, event: league.oauth2_server.event.scope_resolve, method: onScopeResolve }
```

0 comments on commit 10f017d

Please sign in to comment.