PHPackages                             unarealidad/canarium-libraries-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. unarealidad/canarium-libraries-google-sso

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

unarealidad/canarium-libraries-google-sso
=========================================

Enables Canarium to have a Google Login/Sign up functionality.

07PHP

Since Jan 4Pushed 9y agoCompare

[ Source](https://github.com/unarealidad-tech-studio/canarium-libraries-google-sso)[ Packagist](https://packagist.org/packages/unarealidad/canarium-libraries-google-sso)[ RSS](/packages/unarealidad-canarium-libraries-google-sso/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

GoogleSSO
=========

[](#googlesso)

Enables Canarium to have a Google Login/Sign up functionality. This module also supports multiple associated accounts per Canarium User.

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

[](#installation)

Install via composer:

`composer require unarealidad/canarium-libraries-google-sso dev-master`

Add `GoogleSSO` to your Appmaster's `config/application.config.php` or your Appinstance's `config/instance.config.php` under the key `modules`

Copy the global config `data/googlesso.global.php.dist` to your Appinstance's `config/autoload/` directory and remove the `.dist` extension. This is the global configuration.

Copy the sample config `data/googlesso.local.php.dist` to your Appinstance's `config/autoload/` directory and remove the `.dist` extension.

Go to your Appinstance directory and run the following to update your database:

`./doctrine-module orm:schema-tool:update --force`

Configuration
=============

[](#configuration)

Configuration main key: `googlesso`Sample Config file: `data/googlesso.global.php.dist`, `data/googlesso.local.php.dist`

Config ItemSample ValueRequiredDescriptionclient\_id'4847851890871-6gjh8mc244tmct68gs72'trueThe google client id used to connect to the apiclient\_secret'ExW6DGwai\_sI9Nv'trueThe google client secret used to connect to the apiscopearray('', '')trueThe google permissions to request to the user.redirect\_uri''trueThe redirect URL to be used in the Google authentication. This will always be the /oauth2callback route of your site.auth\_class\_service'GoogleSSO\\Authentication\\ForceLogin'falseThe authentication class to use. This can either be `GoogleSSO\Authentication\ForceLogin` or `GoogleSSO\Authentication\ConnectedAccount`. Defaults to `GoogleSSO\Authentication\ForceLogin`.use\_connected\_accountsfalsefalseWhether to allow connecting of multiple accounts to a single canarium loginExposed Pages
=============

[](#exposed-pages)

URLTemplateAccessDescription/oauth2callback*None*GuestThe url that google will use to pass the authentication code after a sucessful loginAdditional Customization
========================

[](#additional-customization)

Enabling Connected Accounts
---------------------------

[](#enabling-connected-accounts)

By setting the auth\_class\_service to `GoogleSSO\Authentication\ConnectedAccount` and use\_connected\_accounts to `true`, you can associate multiple google accounts into one canarium user. This feature is still under development and is not flexible enough for multiple use cases.

Exposed Services
================

[](#exposed-services)

*None*

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/413897a0aac7a60d32f8cadc18d590daaa596a0644c2d871065366839cb88ff3?d=identicon)[unarealidad](/maintainers/unarealidad)

---

Top Contributors

[![Fatal-Errol](https://avatars.githubusercontent.com/u/6903866?v=4)](https://github.com/Fatal-Errol "Fatal-Errol (15 commits)")[![unarealidadtech](https://avatars.githubusercontent.com/u/24706184?v=4)](https://github.com/unarealidadtech "unarealidadtech (7 commits)")

### Embed Badge

![Health badge](/badges/unarealidad-canarium-libraries-google-sso/health.svg)

```
[![Health](https://phpackages.com/badges/unarealidad-canarium-libraries-google-sso/health.svg)](https://phpackages.com/packages/unarealidad-canarium-libraries-google-sso)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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