SocialiteProviders / Providers

A Collection of Providers for Laravel Socialite
https://socialiteproviders.com
MIT License
488 stars 436 forks source link

fix: instagram provider merge code fields #1177

Closed kife-design closed 3 months ago

kife-design commented 3 months ago

Align the getCodeFields method with the AbstractProvider.php where the CodeFields are merged with the external parameters.

kife-design commented 3 months ago

We are using instagrambasic and instagram graph api in one project. They share the same code, and a custom parameter is passed to the redirect using the with() method.

In the instagram basic provider, the custom param is not passed because it doe not merge the code fields with the provided parameters. This pull request fixes that issue.