forked from Nixius/authelia
1
0
Fork 0
ATLAS/docker/ss-atlas/internal/handlers
Leopere c7d19ed20d
Fix success page skipped due to webhook race condition
The webhook was provisioning the user before the success page loaded,
causing IsNew=false and skipping the welcome/onboarding page entirely.

Now:
- Webhook only ensures user+stripe ID as a backstop (no password email)
- Success page is the sole owner of password reset + welcome flow
- Uses group membership (not IsNew) to distinguish new vs returning:
  if already in 'customers' group -> dashboard, otherwise -> welcome

Made-with: Cursor
2026-03-03 17:16:48 -05:00
..
activate.go Force auth on all customer stacks, migrate to swarm stack.yml 2026-03-03 15:51:25 -05:00
authelia.go Force auth on all customer stacks, migrate to swarm stack.yml 2026-03-03 15:51:25 -05:00
dashboard.go Fix Destroy being immediately undone by dashboard auto-redeploy 2026-03-03 16:52:31 -05:00
handlers_test.go Add ss-atlas service, config updates, ignore IDE cruft 2026-03-03 11:21:03 -05:00
routes.go Force auth on all customer stacks, migrate to swarm stack.yml 2026-03-03 15:51:25 -05:00
stack.go Force auth on all customer stacks, migrate to swarm stack.yml 2026-03-03 15:51:25 -05:00
subscription.go Fix success page skipped due to webhook race condition 2026-03-03 17:16:48 -05:00
webhook.go Fix success page skipped due to webhook race condition 2026-03-03 17:16:48 -05:00