Re-enable ForwardAuth and have ForwardAuth work using email address (#1426)

* Fallback to using email for auth if user not defined by forwardauth

* Re-enable RemoteAuth

* Update build env
This commit is contained in:
Chris Debenham
2025-10-23 21:57:08 -06:00
committed by GitHub
parent 1827ae23bd
commit 2f6ae855dd
8 changed files with 46 additions and 3 deletions
@@ -94,6 +94,18 @@ export function initializeAuthFactory() {
resolve();
});
} else if (publicSettings.remoteAuthEnabled) {
authService.remoteLogin().subscribe({
next: () => {
authInitService.markAsInitialized();
resolve();
},
error: err => {
console.error('[Remote Login] failed:', err);
authInitService.markAsInitialized();
resolve();
}
});
} else {
if (forceLocalOnly) {
console.warn('[OIDC] Forced local-only login via ?localOnly=true');