You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linking an existing account to Google falls back to unstyled Keycloak pages #35
What: After "Existing account found" → Continue with Google, users get the default "Link Google" email-verification page (orange links, raw realm name), then the email link. The design goes straight to "Account verified". Why it matters: An off-brand, confusing step for every existing user who adopts Google sign-in. Fix: not fixed — theme login-idp-link-email.ftl, and decide whether the first-broker-login flow should verify by email or auto-link trusted Google emails.
Repro: existing password account x@gmail.com, never used Google → Continue with Google with the same email.
Observed: "Existing account found" (custom, matches design) → Continue with Google → default page titled "Link Google": "You need to verify your email address to link your account with Google. An email with instructions to link Google account … with your account has been sent to you." Orange Click here links. Email subject "Link Google"; its link completes the link and signs in. Expected (design): straight to "Account verified".
Retested on the released theme (main 6880894), locally on Keycloak 26.7. I used a stand-in OIDC provider under the alias google and a password account with the same email that had never been linked.
Fixed: the page is no longer unstyled. The theme's layout wraps the default login-idp-link-email.ftl (brand colours, logo panel, Back to Home, Privacy footer, no orange links).
Still open:
No custom page: the theme doesn't define login-idp-link-email.ftl (it isn't in KcPage.tsx), so the content is Keycloak's default. The title is "Link Google". The body reads "An email with instructions to link Google account with your DataSpace account has been sent to you", showing the raw realm name. It has two "Click here" links, one to resend and one to continue in another browser.
Email: the subject is "Link Google" (default template).
After the email link: the account is linked and the user goes straight back to the app. No "Account verified" page appears.
Remaining decision: keep verify-by-email and give this page the design's copy, or skip it by trusting Google emails. Skipping it means setting Trust email on the Google provider and making Verify existing account by Email the only option. That is a security trade-off: anyone who controls a Google account with that email can link to the account without an email check.
Decision (option A): keep verify-by-email; it stays a security check. @UdayRajSahai2, please add a custom login-idp-link-email.ftl page in the redesign's style:
A design-style title and body in place of "Link Google", with no raw realm name. Say CivicDataSpace, and show the Google account's email, not its username.
Plain buttons or links in place of the two "Click here" links: resend the email, and continue if already verified in another browser.
The "Link Google" email subject and template, if the design covers emails.
The flow itself doesn't change: after the email link, the user goes straight back to the app.
Activity
saqibmanan commentedon Sep 25, 2026
Repro: existing password account
x@gmail.com, never used Google → Continue with Google with the same email.Observed: "Existing account found" (custom, matches design) → Continue with Google → default page titled "Link Google": "You need to verify your email address to link your account with Google. An email with instructions to link Google account … with your account has been sent to you." Orange Click here links. Email subject "Link Google"; its link completes the link and signs in.
Expected (design): straight to "Account verified".
saqibmanan commentedon Nov 26, 2026
Retested on the released theme (main
6880894), locally on Keycloak 26.7. I used a stand-in OIDC provider under the aliasgoogleand a password account with the same email that had never been linked.Fixed: the page is no longer unstyled. The theme's layout wraps the default
login-idp-link-email.ftl(brand colours, logo panel, Back to Home, Privacy footer, no orange links).Still open:
login-idp-link-email.ftl(it isn't inKcPage.tsx), so the content is Keycloak's default. The title is "Link Google". The body reads "An email with instructions to link Google account with your DataSpace account has been sent to you", showing the raw realm name. It has two "Click here" links, one to resend and one to continue in another browser.Remaining decision: keep verify-by-email and give this page the design's copy, or skip it by trusting Google emails. Skipping it means setting Trust email on the Google provider and making Verify existing account by Email the only option. That is a security trade-off: anyone who controls a Google account with that email can link to the account without an email check.
saqibmanan commentedon Nov 26, 2026
Decision (option A): keep verify-by-email; it stays a security check. @UdayRajSahai2, please add a custom
login-idp-link-email.ftlpage in the redesign's style:The flow itself doesn't change: after the email link, the user goes straight back to the app.