PHPackages                             deuxhuithuit/craft-agency-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. deuxhuithuit/craft-agency-auth

ActiveCraft-plugin[Authentication &amp; Authorization](/categories/authentication)

deuxhuithuit/craft-agency-auth
==============================

Adds SSO login in the cp with Google

2.0.1(11mo ago)05711MITPHPPHP 8.1.\*|8.2.\*|8.3.\*|8.4.\*

Since Aug 14Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/DeuxHuitHuit/craft-agency-auth)[ Packagist](https://packagist.org/packages/deuxhuithuit/craft-agency-auth)[ RSS](/packages/deuxhuithuit-craft-agency-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (9)Used By (0)

Agency Auth
===========

[](#agency-auth)

> This plugin allows us to log in the control panel with our Google Account.

Note

This is meant to be internally used by Deux Huit Huit and might not do what you want. Pull Requests are welcome :)

Create and save the credentials
-------------------------------

[](#create-and-save-the-credentials)

1. [Create OAuth client ID here](https://console.cloud.google.com/apis/credentials/oauthclient)
2. Application type to Web application
3. Name the credentials with the client's project name
4. Add the authorized redirect URIs according to your setup. e.g. `https://example.com/actions/agency-auth/callback` no language are required.
5. Save the credentials
6. Fill the credentials in the `/config/agency-auth.php` file
7. Commit the changes

config/agency-auth.php
----------------------

[](#configagency-authphp)

The possible settings are:

```
