PHPackages                             sifuen/module-backend-google-sso - 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. [Admin Panels](/categories/admin)
4. /
5. sifuen/module-backend-google-sso

AbandonedArchivedMagento2-module[Admin Panels](/categories/admin)

sifuen/module-backend-google-sso
================================

Sign in to your Magento 2 admin panel using your Google account

1.0.8(5y ago)919.8k↓50%4MITPHPPHP 5.5.\*|5.6.\*|7.0.\*|7.1.\*|7.2.\*|7.3.\*|7.4.\*

Since Aug 30Pushed 5y agoCompare

[ Source](https://github.com/jsifuentes/module-backend-google-sso)[ Packagist](https://packagist.org/packages/sifuen/module-backend-google-sso)[ RSS](/packages/sifuen-module-backend-google-sso/feed)WikiDiscussions master Synced 1mo ago

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

Backend Google SSO
==================

[](#backend-google-sso)

This Magento 2 module allows you to sign in to your backend user account using your Google account. You can also have backend accounts created automatically when someone logs in with their Google account.

Requirements
============

[](#requirements)

This module requires the following:

- PHP &gt;= 5.5
- Magento &gt;= 2.0

Installation
============

[](#installation)

This module can be installed using [Composer](https://getcomposer.org/).

```
composer require sifuen/module-backend-google-sso

```

```
{
    "require": {
        "sifuen/module-backend-google-sso": "^1.0"
    }
}

```

After the module is downloaded, run the following command in your Magento root:

```
php bin/magento module:enable Sifuen_BackendGoogleSso
php bin/magento setup:upgrade

```

Set up
======

[](#set-up)

Command Line
------------

[](#command-line)

```
bin/magento config:set admin/backend_google_sso/status 1
bin/magento config:set admin/backend_google_sso/client_id "Google client id"
bin/magento config:set admin/backend_google_sso/client_secret "Google secret key" --lock-env

```

Setting up your OAuth credentials
---------------------------------

[](#setting-up-your-oauth-credentials)

Visit the [Google Developer Console](https://console.developers.google.com/) to create your OAuth credentials.

1. Visit the "Credentials" section
2. Click "Create credentials"
3. Choose "OAuth Client ID"
4. Choose the "Web application" application type.
5. When asked for "Authorized Redirect URIs", enter the URL given below, substituting `https://example.com/admin/` with your Magento 2 administrator page.

**Redirect URI:** `https://example.com/admin/google_sso/auth/callback`

Configuring the module
----------------------

[](#configuring-the-module)

[![1](https://camo.githubusercontent.com/2e718293e1d1050958b2a7ccfdd910683283de5109a19195daf0e55b48a996a8/68747470733a2f2f692e696d6775722e636f6d2f323669726437662e706e67)](https://camo.githubusercontent.com/2e718293e1d1050958b2a7ccfdd910683283de5109a19195daf0e55b48a996a8/68747470733a2f2f692e696d6775722e636f6d2f323669726437662e706e67)

After you set up your OAuth 2 credentials, login to your Magento backend and navigate to **Stores &gt; Configuration &gt; Advanced &gt; Admin &gt; Google SSO**.

1. Change the module's status to "Enabled".
2. Enter the Client ID you created in the Google Developer Console.
3. Enter the Client Secret you created in the Google Developer Console.
4. Click `Save`

After your configuration saves, clear your store's cache if necessary. The next time you visit the Magento 2 backend login page, you should see a button to `Sign in with Google`.

### Auto Registration

[](#auto-registration)

You can enable "Auto Registration" which allows users with access to certain Google accounts to automatically have admin accounts created for them. This is especially useful for agencies who have multiple employees logging into a client's admin.

You have the following available filter options:

- Only allowing specific e-mails
- Allowing any e-mails in a domain
- Allowing any e-mails that match a regular expression

### Disabling password authentication

[](#disabling-password-authentication)

You can disable the ability for a user to login to their admin account using a password automatically if they are registered using Google SSO by toggling the setting "Allow Auto-Registered Users To Use Password Login". This is especially useful if you are in an work environment where when an employee loses their work e-mail, they should no longer be allowed to access client admin accounts.

This can also be toggled on a per-user basis, even if the user was not originally created using the auto-register feature.

[![2](https://camo.githubusercontent.com/935d0b5ceedf11358614a0d93f4262d8a610fcd27df241adadc349d4bdb5f5fc/68747470733a2f2f692e696d6775722e636f6d2f366672335a63572e706e67)](https://camo.githubusercontent.com/935d0b5ceedf11358614a0d93f4262d8a610fcd27df241adadc349d4bdb5f5fc/68747470733a2f2f692e696d6775722e636f6d2f366672335a63572e706e67)

Concerns
========

[](#concerns)

**I want to know when my employees are logging in or auto-registering**

All login actions using Google SSO are logged to the table `google_sso_action_log` in the database. The following actions are logged:

- When a user logs in via Google SSO
- When a user attempts to login using Google SSO, but is denied access
- When a user is auto-registered via Google SSO
- When a user attempts to use password authentication when password authentication is disabled.

**I don't want my employees to be able to access their admin accounts when they leave the company**

You can disable the ability for an admin user to use password authentication, which forces them to use Google SSO to sign in. Once an employee's work e-mail is revoked, they will no longer be able to access their admin account. If the employee even attempts to sign into their account using password authentication, that action is logged in the `google_sso_action_log` table

Contributing
============

[](#contributing)

Please refer to [CONTRIBUTING.md](CONTRIBUTING.md)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~153 days

Total

4

Last Release

1985d ago

PHP version history (3 changes)1.0.5PHP 5.5.\*|5.6.\*|7.0.\*|7.1.\*

1.0.6PHP 5.5.\*|5.6.\*|7.0.\*|7.1.\*|7.2.\*|7.3.\*

1.0.7PHP 5.5.\*|5.6.\*|7.0.\*|7.1.\*|7.2.\*|7.3.\*|7.4.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/42a101bada8545af733111625bbef3d07308b2155f8f9bf30d8de51fb2974574?d=identicon)[jsifuentes](/maintainers/jsifuentes)

---

Top Contributors

[![jsifuentes](https://avatars.githubusercontent.com/u/2856219?v=4)](https://github.com/jsifuentes "jsifuentes (4 commits)")

---

Tags

googleSSObackendadminmagento 2

### Embed Badge

![Health badge](/badges/sifuen-module-backend-google-sso/health.svg)

```
[![Health](https://phpackages.com/badges/sifuen-module-backend-google-sso/health.svg)](https://phpackages.com/packages/sifuen-module-backend-google-sso)
```

###  Alternatives

[kiwicommerce/module-cron-scheduler

Easily set up and manage cron jobs from the backend with a beautiful and managed timeline feature. Find the actual load on CPU/Memory by cron job execution.

74603.3k](/packages/kiwicommerce-module-cron-scheduler)[magenizr/magento2-resetuibookmarks

This Magento 2 module allows you to reset your UI bookmarks such as state of filters, column positions, grid sorting, pagination and so on.

38200.3k](/packages/magenizr-magento2-resetuibookmarks)[kiwicommerce/module-customer-password

Magento 2 - Customer Password

1356.3k](/packages/kiwicommerce-module-customer-password)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
