Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: laravel/socialite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.13.1
Choose a base ref
...
head repository: laravel/socialite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.x
Choose a head ref

Commits on Apr 25, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Apr 25, 2024
    Copy the full SHA
    24cb657 View commit details

Commits on Apr 26, 2024

  1. Update Socialite.php (#701)

    Added scopes, setScopes, getScopes and redirectUrl method signatures to PHPDoc (#647)
    adic3x authored Apr 26, 2024
    Copy the full SHA
    cab7546 View commit details
  2. Apply fixes from StyleCI

    StyleCIBot committed Apr 26, 2024
    Copy the full SHA
    278d461 View commit details

Commits on Apr 30, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Apr 30, 2024
    Copy the full SHA
    f79e67a View commit details

Commits on May 2, 2024

  1. Copy the full SHA
    146052c View commit details

Commits on May 3, 2024

  1. [5.x] Add Slack OpenID provider (#704)

    * feat(slack): add separate openid provider
    
    * feat(slack): add create openid driver method
    
    * feat(slack): specifically specify nickname as `null`
    
    * style(slack): remove native return types to keep in style of the entire package
    
    * style(slack): remove declare strict types to keep in style of the entire package
    
    * style(slack): do not get contents before decoding
    
    * test(slack): add tests for Slack OpenID provider
    
    * formatting
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    maartenpaauw and taylorotwell authored May 3, 2024
    Copy the full SHA
    c7b0193 View commit details

Commits on May 7, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed May 7, 2024
    Copy the full SHA
    beb3adc View commit details

Commits on Jun 11, 2024

  1. Copy the full SHA
    c8234bf View commit details

Commits on Jun 18, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Jun 18, 2024
    Copy the full SHA
    d772c96 View commit details

Commits on Jun 28, 2024

  1. Check if some fields exist using limited login (#709)

    * Check if some fields exist using limited login
    
    * Update FacebookProvider.php
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    CosmicodeStudio and taylorotwell authored Jun 28, 2024
    Copy the full SHA
    cc02625 View commit details

Commits on Jul 2, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Jul 2, 2024
    Copy the full SHA
    7c6f34f View commit details

Commits on Aug 2, 2024

  1. Copy the full SHA
    1e177bf View commit details

Commits on Aug 24, 2024

  1. Add X Provider (#712)

    tomocrafter authored Aug 24, 2024
    Copy the full SHA
    6e66b22 View commit details

Commits on Sep 3, 2024

  1. Copy the full SHA
    00598da View commit details
  2. Update config.yml

    driesvints authored Sep 3, 2024
    Copy the full SHA
    40a2dc9 View commit details
  3. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Sep 3, 2024
    Copy the full SHA
    38f1a1e View commit details

Commits on Sep 27, 2024

  1. Update logo to support dark/light theme (#717)

    * Update logo.svg
    
    * Update README.md
    milewski authored Sep 27, 2024
    Copy the full SHA
    8b32227 View commit details

Commits on Dec 11, 2024

  1. [5.x] Support PHP 8.4 (#722)

    * [5.x] Support PHP 8.4
    
    * wip
    
    * wip
    
    * Update tests.yml
    
    * Update tests.yml
    
    * wip
    
    * Update .styleci.yml
    crynobone authored Dec 11, 2024
    Copy the full SHA
    4e5be83 View commit details

Commits on Dec 17, 2024

  1. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Dec 17, 2024
    Copy the full SHA
    d1267db View commit details

Commits on Jan 15, 2025

  1. Add "email_verified" to linkedin openid (#725)

    * Add email_verified to linkedin-openid
    
    * Update linkedin-openid tests
    aalyusuf authored Jan 15, 2025
    Copy the full SHA
    c654af8 View commit details

Commits on Jan 16, 2025

  1. [5.x] Adds support for configuring scope of providers from configurat…

    …ion. (#728)
    
    Update `buildProvider` to initialize scopes from the configuration `services.{driver}.scopes` array if provided.
    Add tests to validate GitHub driver behaves correctly with and without `services.{driver}.scopes` array provided in configuration.
    Ensure scopes are returned as indexed arrays without missing indexes by using `array_values` to possibly prevent future implementation issues.
    Ensure backwards compatibility by wrapping provider instantiation in parenthesis when calling scopes().
    
    Co-authored-by: TheAladeen <DisruptivePigeon@proton.me>
    TheAladeen and TheAladeen authored Jan 16, 2025
    Copy the full SHA
    b2ce47b View commit details

Commits on Jan 17, 2025

  1. Added 2 additional tests for GitHub driver programmatic scope merging…

    … and overwriting (#729)
    
    Introduced tests to verify correct behavior when merging scopes from config with programmatic scopes using `scopes()` and overwriting them using `setScopes()`. These ensure the driver handles scope configurations as expected.
    
    Co-authored-by: TheAladeen <DisruptivePigeon@proton.me>
    TheAladeen and TheAladeen authored Jan 17, 2025
    Copy the full SHA
    77be8be View commit details

Commits on Jan 21, 2025

  1. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Jan 21, 2025
    Copy the full SHA
    20a8216 View commit details

Commits on Jan 28, 2025

  1. Supports Laravel 12 (#730)

    crynobone authored Jan 28, 2025
    Copy the full SHA
    4b44c97 View commit details
  2. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Jan 28, 2025
    Copy the full SHA
    c746579 View commit details

Commits on Feb 5, 2025

  1. Update facade PHPDoc (#731)

    osbre authored Feb 5, 2025
    Copy the full SHA
    8e3f0d3 View commit details

Commits on Feb 7, 2025

  1. Twitch (#732)

    * add twitch provider
    
    * add to manager
    
    * update scopes
    
    * Apply fixes from StyleCI
    
    * formatting
    
    ---------
    
    Co-authored-by: StyleCI Bot <bot@styleci.io>
    taylorotwell and StyleCIBot authored Feb 7, 2025
    Copy the full SHA
    1824978 View commit details

Commits on Feb 11, 2025

  1. Copy the full SHA
    7809dc7 View commit details
  2. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Feb 11, 2025
    Copy the full SHA
    2eb6561 View commit details

Commits on Feb 12, 2025

  1. Copy the full SHA
    2bbb5fb View commit details
  2. docs: sync readme with recent adapters (#735)

    * docs: sync readme with recent adapters
    
    * Update README.md
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    iBotPeaches and taylorotwell authored Feb 12, 2025
    Copy the full SHA
    ec70b7c View commit details

Commits on Feb 27, 2025

  1. [5.x] Throw exception if config is incomplete (#736)

    * Throw exception if config is incomplete
    
    * rename method
    
    * Update SocialiteManager.php
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    mateusjatenee and taylorotwell authored Feb 27, 2025
    Copy the full SHA
    f170502 View commit details
  2. Apply fixes from StyleCI

    StyleCIBot committed Feb 27, 2025
    Copy the full SHA
    cf16cbf View commit details
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/2_Feature_request.md

This file was deleted.

3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature request
url: https://github.com/laravel/socialite/pulls
about: 'For ideas or feature requests, send in a pull request'
- name: Support Questions & Other
url: https://laravel.com/docs/contributions#support-questions
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ If you discover a security vulnerability within Laravel, please send an email to
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP v2.0.8
Comment: https://sela.io/pgp/
Comment: Report Security Vulnerabilities to taylor@laravel.com
xsFNBFugFSQBEACxEKhIY9IoJzcouVTIYKJfWFGvwFgbRjQWBiH3QdHId5vCrbWo
s2l+4Rv03gMG+yHLJ3rWElnNdRaNdQv59+lShrZF7Bvu7Zvc0mMNmFOM/mQ/K2Lt
66 changes: 34 additions & 32 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -16,43 +16,46 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3]
laravel: [6, 7, 8, 9, 10]
exclude:
- php: 7.2
laravel: 8
- php: 7.2
php: [8.1, 8.2, 8.3, 8.4]
laravel: [10, 11, 12]
include:
- php: 8.2
laravel: 9
- php: 7.2
laravel: 10
- php: 7.3
- php: 8.1
laravel: 9
- php: 7.3
laravel: 10
- php: 7.4
- php: '8.0'
laravel: 9
- php: 8.1
laravel: 8
- php: '8.0'
laravel: 8
- php: 7.4
laravel: 10
laravel: 8
- php: 7.3
laravel: 8
- php: '8.0'
laravel: 10
- php: 8.1
laravel: 6
- php: 8.1
laravel: 7
- php: 8.2
laravel: 6
- php: 8.2
- php: 7.4
laravel: 7
- php: 8.2
laravel: 8
- php: 8.3
laravel: 6
- php: 8.3
- php: 7.3
laravel: 7
- php: 8.3
laravel: 8
- php: 8.3
laravel: 9
- php: 7.2
laravel: 7
- php: '8.0'
laravel: 6
- php: 7.4
laravel: 6
- php: 7.3
laravel: 6
- php: 7.2
laravel: 6
exclude:
- php: 8.4
laravel: 10
- php: 8.1
laravel: 11
- php: 8.1
laravel: 12

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

@@ -71,8 +74,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}
4 changes: 4 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,10 @@ on:
release:
types: [released]

permissions: {}

jobs:
update:
permissions:
contents: write
uses: laravel/.github/.github/workflows/update-changelog.yml@main
2 changes: 2 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
php:
preset: laravel
enabled:
- nullable_type_declarations
js: true
css: true
47 changes: 46 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,51 @@
# Release Notes

## [Unreleased](https://github.com/laravel/socialite/compare/v5.13.0...5.x)
## [Unreleased](https://github.com/laravel/socialite/compare/v5.18.0...5.x)

## [v5.18.0](https://github.com/laravel/socialite/compare/v5.17.1...v5.18.0) - 2025-02-11

* Update facade PHPDoc by [@osbre](https://github.com/osbre) in https://github.com/laravel/socialite/pull/731
* Twitch by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/socialite/pull/732

## [v5.17.1](https://github.com/laravel/socialite/compare/v5.17.0...v5.17.1) - 2025-01-28

* Supports Laravel 12 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/socialite/pull/730

## [v5.17.0](https://github.com/laravel/socialite/compare/v5.16.1...v5.17.0) - 2025-01-17

* Add "email_verified" to linkedin openid by [@aalyusuf](https://github.com/aalyusuf) in https://github.com/laravel/socialite/pull/725
* [5.x] Adds support for configuring Access Scope for providers from configuration by [@TheAladeen](https://github.com/TheAladeen) in https://github.com/laravel/socialite/pull/728
* [5.x] Added 2 additional tests for GitHub driver programmatic scope merging and overwriting by [@TheAladeen](https://github.com/TheAladeen) in https://github.com/laravel/socialite/pull/729

## [v5.16.1](https://github.com/laravel/socialite/compare/v5.16.0...v5.16.1) - 2024-12-11

* Update logo to support dark/light theme by [@milewski](https://github.com/milewski) in https://github.com/laravel/socialite/pull/717
* [5.x] Support PHP 8.4 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/socialite/pull/722

## [v5.16.0](https://github.com/laravel/socialite/compare/v5.15.1...v5.16.0) - 2024-09-03

* Add X Provider by [@tomocrafter](https://github.com/tomocrafter) in https://github.com/laravel/socialite/pull/712

## [v5.15.1](https://github.com/laravel/socialite/compare/v5.15.0...v5.15.1) - 2024-06-28

* Check if some fields exist using limited login by [@CosmicodeStudio](https://github.com/CosmicodeStudio) in https://github.com/laravel/socialite/pull/709

## [v5.15.0](https://github.com/laravel/socialite/compare/v5.14.0...v5.15.0) - 2024-06-11

* Support the custom parameters of the access token request by [@maximepvrt](https://github.com/maximepvrt) in https://github.com/laravel/socialite/pull/707

## [v5.14.0](https://github.com/laravel/socialite/compare/v5.13.2...v5.14.0) - 2024-05-03

* Update Socialite Providers URL by [@DamianKRTurner](https://github.com/DamianKRTurner) in https://github.com/laravel/socialite/pull/703
* [5.x] Add Slack OpenID provider by [@maartenpaauw](https://github.com/maartenpaauw) in https://github.com/laravel/socialite/pull/704

## [v5.13.2](https://github.com/laravel/socialite/compare/v5.13.1...v5.13.2) - 2024-04-26

* Update Socialite.php by [@adic3x](https://github.com/adic3x) in https://github.com/laravel/socialite/pull/701

## [v5.13.1](https://github.com/laravel/socialite/compare/v5.13.0...v5.13.1) - 2024-04-24

* Correct issue with GoogleProvider getUserByToken() method by [@ChengKaiChiang](https://github.com/ChengKaiChiang) in https://github.com/laravel/socialite/pull/700

## [v5.13.0](https://github.com/laravel/socialite/compare/v5.12.1...v5.13.0) - 2024-04-15

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="/art/logo.svg" alt="Logo Laravel Socialite"></p>
<p align="center"><img width="337" height="66" src="/art/logo.svg" alt="Logo Laravel Socialite"></p>

<p align="center">
<a href="https://github.com/laravel/socialite/actions"><img src="https://github.com/laravel/socialite/workflows/tests/badge.svg" alt="Build Status"></a>
@@ -9,11 +9,11 @@

## Introduction

Laravel Socialite provides an expressive, fluent interface to OAuth authentication with Facebook, Twitter, Google, LinkedIn, GitHub, GitLab and Bitbucket. It handles almost all of the boilerplate social authentication code you are dreading writing.
Laravel Socialite provides an expressive, fluent interface to OAuth authentication with Bitbucket, Facebook, GitHub, GitLab, Google, LinkedIn, Slack, Twitch, and X. It handles almost all of the boilerplate social authentication code you are dreading writing.

**We are not accepting new adapters.**

Adapters for other platforms are listed at the community driven [Socialite Providers](https://socialiteproviders.netlify.com/) website.
Adapters for other platforms are listed at the community driven [Socialite Providers](https://socialiteproviders.com/) website.

## Official Documentation

Loading