# Providers
You'll see that we have a [clients]() folder that houses all the OAuth clients that extend from `League\OAuth2\Client\Provider\AbstractProvider`. These have been collected from various sources, or developed ourselves into this monorepo to allow mass-adoption of these providers in your own plugins. Otherwise, we'd need to include tens of different packages in an install, deal with conflicts, etc. These are now namespaced to `verbb\auth\clients\*` to convenience, but they shouldn't be used in your own modules.

All credit to the original authors of these clients.

Instead of referencing the client in your plugins, you should reference our Provider class. These are a thin layer over the client that provide some additional structure. These are namespaced to `verbb\auth\providers\*`, and extend the clients.

Providers add a compulsary `getBaseApiUrl()` function that returns a string for the base URL to the provider API. This is so we can create consistent HTTP clients for use in your plugins. Each provider class should either extend the `verbb\auth\base\Provider` class, or where not possible to extend, include the `verbb\auth\base\ProviderTrait`.

## Adding your own
You're more than welcome to submit a PR with another provider for us to support. You'll need to create a `client` folder of classes (as if you were submitting a package to `league/oauth2-client`) and a `provider` class. Take a look at the many examples for how to get started. Explaining the `league/oauth2-client` APIs are beyond the scope of this documentation.

## Supported providers
These providers extend any [league/oauth1-client](https://github.com/thephpleague/oauth2-client) or [league/oauth2-client](https://github.com/thephpleague/oauth2-client) packages, so if you would like to register your own, you can. Pull Requests are also most welcome to add support for any provider.

- [Amazon](https://amazon.com)
- [Apple](https://apple.com)
- [Auth0](https://auth0.com)
- [Authentiq](https://authentiq.com)
- [AWeber](https://aweber.com/)
- [Azure](https://azure.microsoft.com)
- [Basecamp](https://basecamp.com)
- [Bitbucket](https://bitbucket.com)
- [Box](https://box.com)
- [Buddy](https://buddy.works)
- [Buffer](https://buffer.com)
- [Constant Contact](https://constantcontact.com)
- [Deezer](https://deezer.com)
- [DeviantArt](https://deviantart.com)
- [Discord](https://discord.com)
- [Disqus](https://disqus.com)
- [DocuSign](https://docusign.com)
- [Dribbble](https://dribbble.com)
- [Drip](https://drip.com)
- [Dropbox](https://dropbox.com)
- [Envato](https://envato.com)
- [Etsy](https://etsy.com)
- [Eventbrite](https://eventbrite.com)
- [Facebook](https://facebook.com)
- [Fitbit](https://fitbit.com)
- [Foursquare](https://foursquare.com)
- [FreshBooks](https://freshbooks.com)
- [GitHub](https://github.com)
- [GitLab](https://gitlab.com)
- [Google](https://google.com)
- [GoToWebinar](https://goto.com/webinar)
- [Gumroad](https://gumroad.com)
- [Harvest](https://getharest.com)
- [Heroku](https://heroku.com)
- [HubSpot](https://hubspot.com)
- [Imgur](https://imgur.com)
- [Keap/Infusionsoft](https://keap.com)
- [Instagram](https://instagram.com)
- [Jira](https://jira.com)
- [Line](https://line.me)
- [LinkedIn](https://linkedin.com)
- [Linode](https://linode.com)
- [Mailchimp](https://mailchimp.com)
- [Mail.ru](https://mail.ru)
- [Marketo](https://marketo.com)
- [Mastodon](https://mastodon.social)
- [Meetup](https://meetup.com)
- [Microsoft](https://microsoft.com)
- [Mixer](https://mixer.app)
- [Mollie](https://mollie.com)
- [Myob](https://myob.com)
- [Odnoklassniki](https://ok.ru)
- [Okta](https://okta.com)
- [ORCID](https://orcid.org)
- [PayPal](https://paypal.com)
- [Pinterest](https://pinterest.com)
- [Pipedrive](https://pipedrive.com)
- [Reddit](https://reddit.com)
- [Salesforce](https://salesforce.com)
- [Shopify](https://shopify.com)
- [Slack](https://slack.com)
- [Snapchat](https://snapchat.com)
- [SoundCloud](https://soundcloud.com)
- [Spotify](https://spotify.com)
- [Square](https://squareup.com)
- [StackExchange](https://stackexchange.com)
- [Strava](https://strava.com)
- [Stripe](https://stripe.com)
- [SugarCRM](https://sugarcrm.com)
- [37signals](https://37signals.com)
- [TikTok](https://tiktok.com)
- [Trello](https://trello.com)
- [Trustpilot](https://trustpilot.com)
- [Tumblr](https://tumblr.com)
- [Twitch](https://twitch.tv)
- [Twitter](https://twitter.com)
- [Uber](https://uber.com)
- [Unsplash](https://unsplash.com)
- [Vend](https://vend.com)
- [Vimeo](https://vimeo.com)
- [Vkontakte](https://vk.com)
- [WeChat](https://wechat.com)
- [Weibo](https://weibo.cn)
- [Yahoo](https://yahoo.com)
- [Yelp](https://yelp.com)
- [Zendesk](https://zendesk.com)
- [Zoho](https://zoho.com)
