Account Linking
Create a custom first login flow so a Google login is linked to the existing local Keycloak user instead of creating a duplicate.
Create a custom first login flow so a Google login is linked to the existing local Keycloak user instead of creating a duplicate.
Register an application in Keycloak as an OpenID Connect client, get its credentials, and assign the groups scope.
Create an OAuth client in Google Cloud and add Google as an Identity Provider in the homelab realm, so users can sign in with their Google account.
Create a shared groups client scope with a Group Membership mapper, so group membership is sent to applications in the token.
Install Keycloak with Docker Compose and PostgreSQL on Ubuntu.
What Keycloak is, what problems it solves, and how it compares to other identity solutions, told through the story of a small team.
Add "Login with Google" to Nextcloud using the user_oidc app and Keycloak as the OpenID Connect provider.
Create the homelab realm in Keycloak, set up the group structure, and create local users that are ready for Google account linking.
Enable single sign-on in Vaultwarden with Keycloak as the OpenID Connect provider, so users can sign in with their Google account.