fix: add /auth/callback redirect for Casdoor OIDC flow
This commit is contained in:
@@ -14,6 +14,13 @@
|
||||
to = "/mobile"
|
||||
status = 301
|
||||
|
||||
# OAuth callback: Casdoor redirects here without /mobile prefix
|
||||
# Rewrite (200) so the auth callback route at /mobile/auth/callback handles it
|
||||
[[redirects]]
|
||||
from = "/auth/callback"
|
||||
to = "/mobile/auth/callback"
|
||||
status = 200
|
||||
|
||||
# Everything else handled by Next.js plugin
|
||||
[[redirects]]
|
||||
from = "/**"
|
||||
|
||||
Reference in New Issue
Block a user