The global Auth middleware allowlist (noAuthAPI) was missing the share-link routes, so an unauthenticated invitee opening /register?token= hit a 401 on /auth/invitations/lookup and the frontend bounced them to /login instead of showing the register page. Add both share-link endpoints to the allowlist and stop the request interceptor from treating their 401s as a session-expiry redirect. Refs: https://github.com/Tencent/WeKnora/issues/1617 |
||
|---|---|---|
| .. | ||
| asynqdl | ||
| access.go | ||
| access_test.go | ||
| audit_provider.go | ||
| auth.go | ||
| auth_public_ratelimit.go | ||
| auth_role_test.go | ||
| error_handler.go | ||
| kb_access.go | ||
| kb_access_test.go | ||
| language.go | ||
| logger.go | ||
| logger_test.go | ||
| rbac.go | ||
| rbac_audit_test.go | ||
| rbac_test.go | ||
| recovery.go | ||
| trace.go | ||