mirror of
https://github.com/hanzoai/id-worker.git
synced 2026-10-30 18:33:58 +00:00
Social sign-in needs casdoor's SPA, whose /assets/* resolve only on the IAM backend (the worker serves the marketing Pages fallback for /assets/, so the SPA goes blank via hanzo.id). When an authorize request carries a provider, redirect to iam.hanzo.ai/login/oauth/authorize where casdoor runs natively (assets + /callback work); it completes the provider round-trip at iam.hanzo.ai/callback, then returns to the app. Password login (no provider) keeps the worker UI. Deployed version 655182d1.