hwi / oauth-bundle
Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        stloyd
                                                                                    
                                                                
Installs: 20 131 793
Dependents: 82
Suggesters: 11
Security: 0
Stars: 2 311
Watchers: 79
Forks: 793
Open Issues: 2
Type:symfony-bundle
pkg:composer/hwi/oauth-bundle
Requires
- php: ^8.1
 - symfony/deprecation-contracts: ^3.0
 - symfony/form: ^5.4 || ^6.4 || ^7.1
 - symfony/framework-bundle: ^5.4 || ^6.4 || ^7.1
 - symfony/http-client: ^5.4 || ^6.4 || ^7.1
 - symfony/http-foundation: ^5.4 || ^6.4 || ^7.1
 - symfony/options-resolver: ^5.4 || ^6.4 || ^7.1
 - symfony/routing: ^5.4 || ^6.4 || ^7.1
 - symfony/security-bundle: ^5.4 || ^6.4 || ^7.1
 - symfony/twig-bundle: ^5.4 || ^6.4 || ^7.1
 
Requires (Dev)
- doctrine/doctrine-bundle: ^2.4
 - doctrine/orm: ^2.9
 - firebase/php-jwt: ^6.8
 - friendsofphp/php-cs-fixer: ^3.23
 - phpstan/extension-installer: ^1.3
 - phpstan/phpstan: ^1.10
 - phpstan/phpstan-symfony: ^1.3
 - phpunit/phpunit: ^9.6.11
 - symfony/browser-kit: ^5.4 || ^6.4 || ^7.1
 - symfony/css-selector: ^5.4 || ^6.4 || ^7.1
 - symfony/monolog-bundle: ^3.4
 - symfony/phpunit-bridge: ^5.4 || ^6.4 || ^7.1
 - symfony/property-access: ^5.4 || ^6.4 || ^7.1
 - symfony/stopwatch: ^5.4 || ^6.4 || ^7.1
 - symfony/translation: ^5.4 || ^6.4 || ^7.1
 - symfony/validator: ^5.4 || ^6.4 || ^7.1
 - symfony/yaml: ^5.4 || ^6.4 || ^7.1
 
Suggests
- doctrine/doctrine-bundle: to use Doctrine user provider
 - firebase/php-jwt: to use JWT utility functions
 - symfony/property-access: to use FOSUB integration with this bundle
 - symfony/twig-bundle: to use the Twig hwi_oauth_* functions
 
Conflicts
- twig/twig: <1.43|>=2.0,<2.13
 
- 2.4.0
 - 2.3.0
 - 2.2.0
 - 2.1.0
 - dev-master / 2.0.x-dev
 - 2.0.0
 - 2.0.0-BETA3
 - 2.0.0-BETA2
 - 2.0.0-BETA1
 - 1.4.5
 - 1.4.3
 - 1.4.2
 - 1.4.1
 - 1.4.0
 - 1.3.0
 - 1.2.0
 - 1.1.0
 - 1.0.0
 - 0.6.3
 - 0.6.2
 - 0.6.1
 - 0.6.0
 - 0.5.3
 - 0.5.2
 - 0.5.1
 - 0.5.0
 - 0.4.3
 - 0.4.2
 - 0.4.1
 - 0.4.0
 - 0.3.9
 - 0.3.8
 - 0.3.7
 - 0.3.6
 - 0.3.5
 - 0.3.4
 - 0.3.3
 - 0.3.2
 - 0.3.1
 - 0.3.0
 - 0.3.0-alpha2
 - 0.3.0-alpha1
 - 0.2.10
 - 0.2.9
 - 0.2.8
 - 0.2.7
 - 0.2.6
 - 0.2.5
 - 0.2.4
 - 0.2.3
 - 0.2.2
 - 0.2.1
 - 0.2.0
 - 0.1-alpha
 
This package is auto-updated.
Last update: 2025-10-05 11:40:05 UTC
README
The HWIOAuthBundle adds support for authenticating users via OAuth1.0a or OAuth2 in Symfony.
Note: this bundle adds easy way to implement any of OAuth1.0a or OAuth2 provider!
Installation
All the installation instructions are located in the documentation, check it for a specific version:
- 2.x (current) - with support for Symfony: 
^6.4&^7.3(PHP:^8.3), 
Documentation
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle. Read the documentation for version:
This bundle contains support for 58 different providers:
- 37signals,
 - Amazon,
 - Amazon Cognito,
 - Apple,
 - Asana,
 - Auth0,
 - Azure,
 - Bitbucket,
 - Bitly,
 - Box,
 - BufferApp,
 - Clever,
 - Dailymotion,
 - Deezer,
 - DeviantArt,
 - Discogs,
 - Disqus,
 - Dropbox,
 - EVE Online,
 - Facebook,
 - FI-WARE,
 - Flickr,
 - Foursquare,
 - Genius,
 - GitHub,
 - Google,
 - Hubic,
 - Instagram,
 - Itembase,
 - Jawbone,
 - JIRA,
 - Keycloak,
 - LinkedIn,
 - Mail.ru
 - Odnoklassniki,
 - Office365,
 - Passage,
 - PayPal,
 - QQ,
 - RunKeeper,
 - Salesforce,
 - Sensio Connect,
 - Sina Weibo,
 - Slack,
 - Soundcloud,
 - Spotify,
 - Stack Exchange,
 - Stereomood,
 - Strava,
 - Telegram,
 - Toshl,
 - Trakt,
 - Trello,
 - Twitch,
 - Twitter,
 - VKontakte,
 - Windows Live,
 - Wordpress,
 - XING,
 - Yahoo,
 - Yandex,
 - Youtube
 
License
This bundle is under the MIT license. See the complete license in the bundle.