Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: SuperDJ/socialite

Tags

v5.5.5

Toggle v5.5.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add ability to override access token request headers (laravel#603)

* Add ability to override access token request headers

This moves the currently hardcoded `getAccessTokenResponse` into their own method.  This allows children providers to construct their own headers as needed.

A perfect example of the necessity of this feature is the newer Pinterest v5 API.  In order to exchange the code for an access token, they require an `Authorization` header composed of a base64 encoded `client_id` and `client_secret`.  Without this change, the Pinterest Provider would need to entirely reimplement the `getAccessTokenResponse` method.  **With** this change, the Pinterest Provider could simply:

```php
protected function getTokenHeaders()
{
    return array_merge(
        parent::getTokenHeaders(),
        [
            'Authorization' => 'Basic ' . base64_encode("{$this->clientId}:{$this->clientSecret}"),
        ]
    );
}
```

* formatting

Co-authored-by: Taylor Otwell <[email protected]>

v5.5.4

Toggle v5.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add correct encoding and the required state param. (laravel#599)

* Add correct encoding and the required state param.

* Set default state when stateless.

* Update TwitterProvider.php

Co-authored-by: Taylor Otwell <[email protected]>

v5.5.3

Toggle v5.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update SocialiteManager.php (laravel#596)

v5.5.2

Toggle v5.5.2's commit message
allow oauth version in config

v5.5.1

Toggle v5.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Override abstract provider for Twitter's OAuth 2.0 provider (laravel#576

)

v5.5.0

Toggle v5.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Create update-changelog.yml

v5.4.0

Toggle v5.4.0's commit message

Verified

This commit was signed with the committer’s verified signature.
driesvints Dries Vints
Update CHANGELOG.md

v5.3.0

Toggle v5.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update CHANGELOG.md

v5.2.6

Toggle v5.2.6's commit message

Verified

This commit was signed with the committer’s verified signature.
driesvints Dries Vints
Update CHANGELOG.md

v5.2.5

Toggle v5.2.5's commit message

Verified

This commit was signed with the committer’s verified signature.
driesvints Dries Vints
Update CHANGELOG.md