fix(auth): adjust interceptor bypass rules for auth and autocomplete endpoints

This commit is contained in:
2026-06-15 01:50:07 +02:00
parent a34119b22c
commit bd9e38c6cf
@@ -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 {