https://github.com/verbb/auth
A Craft CMS package to make working with OAuth providers a breeze
https://github.com/verbb/auth
Last synced: 2 months ago
JSON representation
A Craft CMS package to make working with OAuth providers a breeze
- Host: GitHub
- URL: https://github.com/verbb/auth
- Owner: verbb
- License: other
- Created: 2022-11-24T23:08:20.000Z (over 3 years ago)
- Default Branch: craft-5
- Last Pushed: 2026-02-06T22:53:24.000Z (4 months ago)
- Last Synced: 2026-02-07T09:44:28.029Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 877 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README

Auth for Craft CMS
Auth is a module for Craft plugins and modules for making working with authenticating third-party APIs a breeze. We currently support OAuth1/OAuth2 providers and extend the [league/oauth1-client](https://github.com/thephpleague/oauth2-client) and [league/oauth2-client](https://github.com/thephpleague/oauth2-client) packages.
As such, this module is an opinionated wrapper around these packages that lowers boilerplate code, provides a consistent API layer and tightly integrates with Craft itself.
> [!NOTE]
> This isn't a Craft plugin that is intended for end-users. Instead, it's something you can install in your own Craft plugins or Craft modules to handle the intricacies of dealing with authentication.
>
> If you're looking for an easy way to use authenticated third-party APIs for your Craft site in Twig templates, check out:
> - [Social Login](https://github.com/verbb/social-login)
> - [Social Feeds](https://github.com/verbb/social-feeds)
> - [Social Poster](https://github.com/verbb/social-poster)
> - [Consume](https://github.com/verbb/consume)
## Documentation
Visit the [Auth package page](https://verbb.io/packages/auth) for all documentation and developer resources.
## Credits
Thanks to all the individual developers working on `league/oauth2-client` packages.
## Sponsor
Auth is licensed under the MIT license, meaning it will always be free and open source – we love free stuff! If you'd like to show your support to the plugin regardless, [Sponsor](https://github.com/sponsors/verbb) development.