feat(signup): welcome page after enrolment #331

Sammanfogat
supernaut sammanfogade 1 incheckning från feat/enrolment-welcome in i main 2026-10-09 20:24:00 +00:00
Ägare

Refs #311.

Why

After enrolment, Keycloak's "back to application" link went to /account. The user is not signed in yet, so the portal sent them straight on to the Keycloak login page.

What

  • The action email returns to /welcome, or /en/welcome when the sign-up or resend happened in English.
  • The welcome page says the account is ready and offers "Go to Bitborg Git" and "Sign in to your account". It does not redirect.
  • GIT_APP_URL prefers the runtime PUBLIC_GIT_APP_URL, so staging links to staging Git. The build-time value stays the fallback.
  • Version 1.28.0.

Copy: sv "Ditt konto är klart" / "Nu kan du använda Bitborg Git." / "Gå till Bitborg Git" / "Logga in på ditt konto". en "Your account is ready" / "You can now use Bitborg Git." / "Go to Bitborg Git" / "Sign in to your account".

Depends on

bitborg/bitborg-infra#635 (realm allows /welcome), already applied on staging.

Tests

592 pass. New: sv and en redirect, language passed to the mailer, runtime GIT_APP_URL. Rendered /en/welcome checked by hand against a built server with a staging-like PUBLIC_GIT_APP_URL.

Refs #311. ## Why After enrolment, Keycloak's "back to application" link went to `/account`. The user is not signed in yet, so the portal sent them straight on to the Keycloak login page. ## What - The action email returns to `/welcome`, or `/en/welcome` when the sign-up or resend happened in English. - The welcome page says the account is ready and offers "Go to Bitborg Git" and "Sign in to your account". It does not redirect. - `GIT_APP_URL` prefers the runtime `PUBLIC_GIT_APP_URL`, so staging links to staging Git. The build-time value stays the fallback. - Version 1.28.0. Copy: sv "Ditt konto är klart" / "Nu kan du använda Bitborg Git." / "Gå till Bitborg Git" / "Logga in på ditt konto". en "Your account is ready" / "You can now use Bitborg Git." / "Go to Bitborg Git" / "Sign in to your account". ## Depends on bitborg/bitborg-infra#635 (realm allows `/welcome`), already applied on staging. ## Tests 592 pass. New: sv and en redirect, language passed to the mailer, runtime `GIT_APP_URL`. Rendered `/en/welcome` checked by hand against a built server with a staging-like `PUBLIC_GIT_APP_URL`.
supernaut lade till 1 incheckning 2026-10-09 20:21:29 +00:00
feat(auth): send enrolment links back to a static welcome page
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m57s
e7806f7503
The welcome page now offers the Git link and a sign-in link, and needs no session. The action email redirects there in the sign-up language. GIT_APP_URL prefers the runtime environment so staging links to staging.

Refs #311
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-09 20:21:48 +00:00
supernaut sammanfogade incheckning 1c62d61678 till main 2026-10-09 20:24:00 +00:00
supernaut tog bort grenen feat/enrolment-welcome 2026-10-09 20:24:00 +00:00
supernaut refererade denna ändringsförfrågan från en incheckning 2026-10-09 20:24:00 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web!331
Ingen beskrivning angiven.