From bd9e38c6cfcf89f5a2c75b6f2201b0dd48119c2b Mon Sep 17 00:00:00 2001 From: genja Date: Mon, 15 Jun 2026 01:50:07 +0200 Subject: [PATCH] fix(auth): adjust interceptor bypass rules for auth and autocomplete endpoints --- .../app/shared/interceptors/authentication.interceptor.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webapp/src/app/shared/interceptors/authentication.interceptor.ts b/webapp/src/app/shared/interceptors/authentication.interceptor.ts index 788ed84a..ac649afd 100644 --- a/webapp/src/app/shared/interceptors/authentication.interceptor.ts +++ b/webapp/src/app/shared/interceptors/authentication.interceptor.ts @@ -5,8 +5,11 @@ import { switchMap, throwError } from 'rxjs'; export const authenticationInterceptor: HttpInterceptorFn = (req, next) => { if ( - req.method == 'POST' && - (req.url.endsWith('/auth/id') || req.url.endsWith('/auth/access')) + (req.method == 'POST' && + (req.url.endsWith('/auth/id') || + req.url.endsWith('/auth/access') || + req.url.endsWith('/inse-account/create'))) || + req.url.endsWith('/institutions/autocomplete') ) { return next(req); } else {