{"id":51319560,"url":"https://github.com/andrefelipeufcg/googlesso","last_synced_at":"2026-07-01T11:31:41.337Z","repository":{"id":365721347,"uuid":"1270669341","full_name":"andrefelipeufcg/googlesso","owner":"andrefelipeufcg","description":"GLPI 11 plugin that adds a 'Sign in with Google' button (OAuth2/OIDC), enabling alternative authentication while keeping the native local login 100% functional.","archived":false,"fork":false,"pushed_at":"2026-06-18T15:12:41.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-18T16:23:47.930Z","etag":null,"topics":["authentication","glpi","glpi-plugin","google-sso","oauth2","oidc","php","php8","sso"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrefelipeufcg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T00:05:37.000Z","updated_at":"2026-06-18T15:18:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andrefelipeufcg/googlesso","commit_stats":null,"previous_names":["andrefelipeufcg/googlesso"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andrefelipeufcg/googlesso","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrefelipeufcg%2Fgooglesso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrefelipeufcg%2Fgooglesso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrefelipeufcg%2Fgooglesso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrefelipeufcg%2Fgooglesso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrefelipeufcg","download_url":"https://codeload.github.com/andrefelipeufcg/googlesso/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrefelipeufcg%2Fgooglesso/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35005409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","glpi","glpi-plugin","google-sso","oauth2","oidc","php","php8","sso"],"created_at":"2026-07-01T11:31:40.861Z","updated_at":"2026-07-01T11:31:41.328Z","avatar_url":"https://github.com/andrefelipeufcg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n  🇬🇧 \u003ca href=\"#english\"\u003eEnglish\u003c/a\u003e | 🇪🇸 \u003ca href=\"#español\"\u003eEspañol\u003c/a\u003e | 🇫🇷 \u003ca href=\"#français\"\u003eFrançais\u003c/a\u003e | 🇧🇷 \u003ca href=\"#português\"\u003ePortuguês\u003c/a\u003e\n\u003c/div\u003e\n\n\u003ca id=\"english\"\u003e\u003c/a\u003e\n# Google SSO for GLPI 11\n\nAlternative login via Google (OAuth2/OpenID Connect). The local GLPI login\nform remains 100% functional — the plugin only adds a \"Sign in with Google\" button\non the login page.\n\n## Installation\n\n```bash\ncd \u003cGLPI\u003e/plugins\ncp -r googlesso .\ncd googlesso\ncomposer install --no-dev\n```\n\nThen: **Setup \u003e Plugins** → install and activate \"Google SSO\".\n\n## Google Cloud Console\n\n1. Create a project at https://console.cloud.google.com/\n2. **APIs \u0026 Services \u003e Credentials \u003e Create Credentials \u003e OAuth client ID** (type *Web application*).\n3. In *Authorized redirect URIs*, register exactly:\n   `https://YOUR_GLPI/plugins/googlesso/front/callback.php`\n   (the exact URL is displayed on the plugin configuration screen).\n4. Copy the [GOOGLE_CLIENT_ID] and [GOOGLE_CLIENT_SECRET] to the plugin\n   configuration in GLPI (**Setup \u003e Plugins \u003e Google SSO**).\n\n## Behavior\n\n- Existing user (GLPI email = verified Google email): authenticates via\n  the core's external authentication mechanism (`Auth::EXTERNAL` + `Session::init`).\n- Non-existing user: created automatically if the option is enabled,\n  with the default profile/entity configured.\n- OAuth2 flow errors are logged in `files/_log/googlesso.log` and the\n  user is returned to the native login page.\n\n## Requirements\n\n- GLPI \u003e= 11.0\n- PHP \u003e= 8.2\n- `url_base` correctly configured in **Setup \u003e General**\n\n## Authors / Contributors\n\nThis plugin was developed together by:\n* **Daniel Ramos** - [@danielrramos](https://github.com/danielrramos)\n* **Andre Felipe** - [@andrefelipeufcg](https://github.com/andrefelipeufcg)\n\n---\n\n\u003ca id=\"español\"\u003e\u003c/a\u003e\n# Google SSO para GLPI 11\n\nInicio de sesión alternativo a través de Google (OAuth2/OpenID Connect). El formulario de inicio de sesión\nlocal de GLPI permanece 100% funcional — el plugin solo agrega un botón\n\"Iniciar sesión con Google\" en la página de inicio de sesión.\n\n## Instalación\n\n```bash\ncd \u003cGLPI\u003e/plugins\ncp -r googlesso .\ncd googlesso\ncomposer install --no-dev\n```\n\nLuego: **Configuración \u003e Plugins** → instale y active \"Google SSO\".\n\n## Google Cloud Console\n\n1. Cree un proyecto en https://console.cloud.google.com/\n2. **APIs y Servicios \u003e Credenciales \u003e Crear Credenciales \u003e ID de cliente OAuth** (tipo *Aplicación web*).\n3. En *URI de redireccionamiento autorizados*, registre exactamente:\n   `https://SU_GLPI/plugins/googlesso/front/callback.php`\n   (la URL exacta se muestra en la pantalla de configuración del plugin).\n4. Copie el [GOOGLE_CLIENT_ID] y el [GOOGLE_CLIENT_SECRET] en la configuración\n   del plugin en GLPI (**Configuración \u003e Plugins \u003e Google SSO**).\n\n## Comportamiento\n\n- Usuario existente (correo electrónico GLPI = correo electrónico de Google verificado): se autentica a través del\n  mecanismo de autenticación externa del core (`Auth::EXTERNAL` + `Session::init`).\n- Usuario inexistente: se crea automáticamente si la opción está habilitada,\n  con el perfil/entidad predeterminado configurado.\n- Los errores del flujo OAuth2 se registran en `files/_log/googlesso.log` y el\n  usuario es devuelto a la página de inicio de sesión nativa.\n\n## Requisitos\n\n- GLPI \u003e= 11.0\n- PHP \u003e= 8.2\n- `url_base` configurado correctamente en **Configuración \u003e General**\n\n## Autores / Colaboradores\n\nEste plugin fue desarrollado conjuntamente por:\n* **Daniel Ramos** - [@danielrramos](https://github.com/danielrramos)\n* **Andre Felipe** - [@andrefelipeufcg](https://github.com/andrefelipeufcg)\n\n---\n\n\u003ca id=\"français\"\u003e\u003c/a\u003e\n# Google SSO pour GLPI 11\n\nConnexion alternative via Google (OAuth2/OpenID Connect). Le formulaire de connexion\nlocal de GLPI reste 100% fonctionnel — le plugin ajoute simplement un bouton\n\"Se connecter avec Google\" sur la page de connexion.\n\n## Installation\n\n```bash\ncd \u003cGLPI\u003e/plugins\ncp -r googlesso .\ncd googlesso\ncomposer install --no-dev\n```\n\nEnsuite : **Configuration \u003e Plugins** → installer et activer \"Google SSO\".\n\n## Google Cloud Console\n\n1. Créez un projet sur https://console.cloud.google.com/\n2. **APIs \u0026 Services \u003e Credentials \u003e Create Credentials \u003e OAuth client ID** (type *Web application*).\n3. Dans *Authorized redirect URIs*, enregistrez exactement :\n   `https://VOTRE_GLPI/plugins/googlesso/front/callback.php`\n   (l'URL exacte est affichée sur l'écran de configuration du plugin).\n4. Copiez le [GOOGLE_CLIENT_ID] et le [GOOGLE_CLIENT_SECRET] dans la configuration\n   du plugin dans GLPI (**Configuration \u003e Plugins \u003e Google SSO**).\n\n## Comportement\n\n- Utilisateur existant (e-mail GLPI = e-mail Google vérifié) : s'authentifie via\n  le mécanisme d'authentification externe du cœur (`Auth::EXTERNAL` + `Session::init`).\n- Utilisateur inexistant : créé automatiquement si l'option est activée,\n  avec le profil/l'entité par défaut configuré.\n- Les erreurs du flux OAuth2 sont enregistrées dans `files/_log/googlesso.log` et l'\n  utilisateur est renvoyé à la page de connexion native.\n\n## Prérequis\n\n- GLPI \u003e= 11.0\n- PHP \u003e= 8.2\n- `url_base` configuré correctement dans **Configuration \u003e Générale**\n\n## Auteurs / Contributeurs\n\nCe plugin a été développé conjointement par :\n* **Daniel Ramos** - [@danielrramos](https://github.com/danielrramos)\n* **Andre Felipe** - [@andrefelipeufcg](https://github.com/andrefelipeufcg)\n\n---\n\n\u003ca id=\"português\"\u003e\u003c/a\u003e\n# Google SSO para GLPI 11\n\nLogin alternativo via Google (OAuth2/OpenID Connect). O formulário de login\nlocal do GLPI permanece 100% funcional — o plugin apenas adiciona um botão\n\"Entrar com Google\" na página de login.\n\n## Instalação\n\n```bash\ncd \u003cGLPI\u003e/plugins\ncp -r googlesso .\ncd googlesso\ncomposer install --no-dev\n```\n\nDepois: **Configuração \u003e Plugins** → instalar e ativar \"Google SSO\".\n\n## Google Cloud Console\n\n1. Crie um projeto em https://console.cloud.google.com/\n2. **APIs \u0026 Services \u003e Credentials \u003e Create Credentials \u003e OAuth client ID** (tipo *Web application*).\n3. Em *Authorized redirect URIs*, cadastre exatamente:\n   `https://SEU_GLPI/plugins/googlesso/front/callback.php`\n   (a URL exata é exibida na tela de configuração do plugin).\n4. Copie o [GOOGLE_CLIENT_ID] e o [GOOGLE_CLIENT_SECRET] para a configuração\n   do plugin no GLPI (**Configuração \u003e Plugins \u003e Google SSO**).\n\n## Comportamento\n\n- Usuário existente (e-mail do GLPI = e-mail Google verificado): autentica via\n  mecanismo de autenticação externa do core (`Auth::EXTERNAL` + `Session::init`).\n- Usuário inexistente: criado automaticamente se a opção estiver habilitada,\n  com o perfil/entidade padrão configurados.\n- Erros do fluxo OAuth2 são registrados em `files/_log/googlesso.log` e o\n  usuário é devolvido à página de login nativa.\n\n## Requisitos\n\n- GLPI \u003e= 11.0\n- PHP \u003e= 8.2\n- `url_base` configurado corretamente em **Configuração \u003e Geral**\n\n## Autores / Contribuidores\n\nEste plugin foi desenvolvido em conjunto por:\n* **Daniel Ramos** - [@danielrramos](https://github.com/danielrramos)\n* **Andre Felipe** - [@andrefelipeufcg](https://github.com/andrefelipeufcg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrefelipeufcg%2Fgooglesso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrefelipeufcg%2Fgooglesso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrefelipeufcg%2Fgooglesso/lists"}