How cyclenerd/google-cloud-identity-platform works
This repository is a Google Cloud Identity Platform sign-in demo and configuration guide. A user selects a provider-specific page, signs in through Firebase Authentication, views account details, and can retrieve an ID token for inspection or backend use. The README documents GitHub, GitLab, Microsoft, and Google setup plus security; provider scripts show the popup and token-display flow. The tree includes a PSGI app and a Perl JWT script, but their internals were not sampled, so their runtime wiring is not inferred.
Main entry points: github.js GitHub auth flow · gitlab.js GitLab auth flow · google.js Google auth flow · microsoft.js Microsoft auth flow
Components 24
Web demo
- Web app server
app.psgi - Demo landing
page/index.html - GitHub sign-in page
page/github.html - GitLab sign-in page
page/gitlab.html - Google sign-in page
page/google.html - Microsoft sign-in page
page/microsoft.html
Identity flows
- Firebase config
page/config.js - GitHub auth flow
page/github.js - GitLab auth flow
page/gitlab.js - Google auth flow
page/google.js - Microsoft auth flow
page/microsoft.js - Firebase Identity Platform
- JWT verifier
jwt.pl
Setup guides
- GitHub setup guide
github.md - GitLab setup guide
gitlab.md - Google setup guide
google.md - Microsoft setup guide
microsoft.md - Security guidance
security.md
Other components
- User
- GitHub
- GitLab
- Microsoft
- JWT debugger
Connections 34
- User → Demo landing: opens demo
- User → GitHub sign-in page: selects provider
- User → GitLab sign-in page: selects provider
- User → Google sign-in page: selects provider
- User → Microsoft sign-in page: selects provider
- GitHub sign-in page → GitHub auth flow: loads script
- GitLab sign-in page → GitLab auth flow: loads script
- Google sign-in page → Google auth flow: loads script
- Microsoft sign-in page → Microsoft auth flow: loads script
- GitHub auth flow → Firebase config: reads config
- GitLab auth flow → Firebase config: reads config
- Google auth flow → Firebase config: reads config
- Microsoft auth flow → Firebase config: reads config
- GitHub auth flow → Firebase Identity Platform: popup auth
- GitLab auth flow → Firebase Identity Platform: popup auth
- Google auth flow → Firebase Identity Platform: popup auth
- Microsoft auth flow → Firebase Identity Platform: popup auth
- Firebase Identity Platform → GitHub: OAuth login
- Firebase Identity Platform → GitLab: OIDC login
- Firebase Identity Platform → Google: OAuth login
- Firebase Identity Platform → Microsoft: OAuth login
- GitHub auth flow → Firebase Identity Platform: gets ID token
- GitLab auth flow → Firebase Identity Platform: gets ID token
- Google auth flow → Firebase Identity Platform: gets ID token
- Microsoft auth flow → Firebase Identity Platform: gets ID token
- GitHub auth flow → JWT debugger: opens token
- GitLab auth flow → JWT debugger: opens token
- Google auth flow → JWT debugger: opens token
- Microsoft auth flow → JWT debugger: opens token
- User → GitHub setup guide: reads setup
- User → GitLab setup guide: reads setup
- User → Google setup guide: reads setup
- User → Microsoft setup guide: reads setup
- User → Security guidance: reads guidance