fix(auth): adjust interceptor bypass rules for auth and autocomplete endpoints
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user