SocialiteProviders / Providers

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

fix: instagram provider merge code fields #1177

Closed kife-design closed 7 months ago

kife-design commented 8 months ago

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

kife-design commented 8 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.