Files
ragflow/web/src
Levi 4b50b8c579 Fix: persist SSO auth token on root route loader (#12784)
### What problem does this PR solve?

This PR fixes SSO/OIDC login persistence after the Vite migration
#12568. Because wrappers are ignored by React Router, the OAuth callback
never stored the auth token in localStorage, causing auth to only work
while ?auth= stayed in the URL. We move that logic into a route loader
and remove the Bearer prefix for the signed token so the backend accepts
it.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Contribution during my time at RAGcon GmbH.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-02-12 10:09:35 +08:00
..
2026-02-10 14:04:50 +08:00
2026-02-09 19:53:51 +08:00
2026-02-10 16:25:56 +08:00
2026-02-10 16:12:59 +08:00
2026-02-09 19:53:51 +08:00
2026-01-04 19:14:20 +08:00