Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TwitterProvider(OAuth1) additional query string (#162)
* TwitterProvider(OAuth1) additional query string TwitterProvider(Oauth1) doesn't compatible an additional query string regardless of having a method with(). Laracast discussion 'Is it possible to use force_login for Twitter in Laravel Socialite?'. https://laracasts.com/discuss/channels/laravel/is-it-possible-to-use-force-login-for-twitter-in-laravel-socialite I updating method getAuthorizationUrl(). It allows additional query strings like calling with(['fource_url'=>true]) options as well as ['lang' => 'ja'] option. if 'SocialiteProviders\Manager\OAuth1\Server' add this function, It might be compatible any other OAuth1 providers. Please review it. thx. * Cord formatting.
- Loading branch information
9572f58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, this commit broke my authorization.
TemporaryCredentials is undefined class (need add use .. ) and for this reason $temporaryIdentifier is a object, http_build_query return empty string and i get this auth link: "https://api.twitter.com/oauth/authenticate?"