Manager
Manager copied to clipboard
Easily add new or override built-in Laravel Socialite providers
# Issue / Motivation: "laravel/socialite": "^5.5" "socialiteproviders/trello": "^4.1" As specified in the [documentation](https://socialiteproviders.com/usage/#overriding-a-config), you can override the config like this: ```php $config = new \SocialiteProviders\Manager\Config($clientId, $clientSecret, $redirectUrl, $additionalProviderConfig); return Socialite::driver('trello')->setConfig($config)->redirect();...
Fixes #224 ## Changes proposed in this pull request: - Set approvedScopes attribute as in socialite/src/Two/AbstractProvider.php:261
# Issue / Motivation: socialite/src/Two/AbstractProvider.php:261 sets approvedScopes attribute: ``` ->setApprovedScopes(explode($this->scopeSeparator, Arr::get($response, 'scope', ''))); ``` In SocialiteProviders/Manager, the attribute is not set. It is always null. ## Expected behavior: socialiteproviders/manager/src/OAuth2/AbstractProvider.php user()...
This PR adds a coding standards GA to fix code with Laravel [Pint](https://laravel.com/docs/10.x/pint). It also fixes the code to match those coding standards
This PR proposes 2 new interfaces: * `RefreshTokensInterface` - can be implemented by OAuth2 providers that support refreshing an access token * `RevokeTokensInterface` - can be implemented by OAuth2 providers...
# Issue / Motivation: While requesting for authorization using any of `response_type` methods server may responds (redirect back) with error. For `response_type=code` see https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1 For `response_type=token` see https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 Also, then...
Twitter return Indirect modification of overloaded property SocialiteProviders\Manager\OAuth1\User::$urls has no effect on callback page when am trying to get the user from socialite The issue is from this part of...
# Issue / Motivation: provider listeners not being called ## Expected behavior: return Socialite::driver('azure')->redirect(); this should redirect to the provider's login page ## Actual behavior: Target class [SocialiteProviders\Azure\AzureExtendsSocialite] does not...
Hello, I would like to use SocialiteProviders with keycloak with dynamically set configuration as described in the https://socialiteproviders.com/usage/#overriding-a-config but I cannot see here how I can override the realms config...