An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

Auth icon


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.


Verbb