Fix Kobo sync timeout with large magic shelves (#3172) (#3173)

* overhaul OIDC: backend token exchange, security hardening, group mapping, session management

* add unit tests for OIDC overhaul (166 tests across 12 classes)

* rewrite unit tests for metadata and extractor packages (~450 tests)

* fix Kobo sync timeout with large magic shelves (#3172)
This commit is contained in:
ACX
2026-03-04 15:11:20 -07:00
committed by GitHub
parent f8375f03f3
commit 3ff8f0f69f
148 changed files with 18941 additions and 8047 deletions
+7
View File
@@ -18,6 +18,7 @@ import {LibraryService} from './features/book/service/library.service';
import {LibraryHealthService} from './features/book/service/library-health.service';
import {LibraryLoadingService} from './features/library-creator/library-loading.service';
import {scan, withLatestFrom} from 'rxjs/operators';
import {AuthService} from './shared/service/auth.service';
@Component({
selector: 'app-root',
@@ -44,6 +45,7 @@ export class AppComponent implements OnInit, OnDestroy {
private libraryService = inject(LibraryService);
private libraryHealthService = inject(LibraryHealthService);
private libraryLoadingService = inject(LibraryLoadingService);
private authService = inject(AuthService);
ngOnInit(): void {
window.addEventListener('online', this.onOnline);
@@ -149,6 +151,11 @@ export class AppComponent implements OnInit, OnDestroy {
this.taskService.handleTaskProgress(progress);
})
);
this.subscriptions.push(
this.rxStompService.watch('/user/queue/session-revoked').subscribe(() => {
this.authService.forceLogout('session_revoked');
})
);
}
ngOnDestroy(): void {