oauth2-apple
oauth2-apple copied to clipboard
Update Apple.php
trafficstars
The method is declared as public in GenericProvider and any other provider and throws an error if it is protected. If we use this plugin together with bigfork/silverstripe-oauth it works only if the method is public.
getDefaultScopes() is declared as "protected" in league/oauth2-client/src/Provider/AbstractProvider.php, You should not override methode visibility. Maybe you should open an issue in "league/oauth2-client", so they could fix this mismatch.
@ibimsdeandy thank you for your work but tests failing. Please check and then I'll merge. 👍