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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user