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
[5.x] Adds support for configuring scope of providers from configuration. (#728)
Update `buildProvider` to initialize scopes from the configuration `services.{driver}.scopes` array if provided.
Add tests to validate GitHub driver behaves correctly with and without `services.{driver}.scopes` array provided in configuration.
Ensure scopes are returned as indexed arrays without missing indexes by using `array_values` to possibly prevent future implementation issues.
Ensure backwards compatibility by wrapping provider instantiation in parenthesis when calling scopes().
Co-authored-by: TheAladeen <[email protected]>
0 commit comments