diff --git a/src/app/core/http-content-type-header-interceptor/http-content-type-header-interceptor.ts b/src/app/core/http-content-type-header-interceptor/http-content-type-header-interceptor.ts index 01ceab2f71..21b880483b 100644 --- a/src/app/core/http-content-type-header-interceptor/http-content-type-header-interceptor.ts +++ b/src/app/core/http-content-type-header-interceptor/http-content-type-header-interceptor.ts @@ -8,6 +8,7 @@ export class HttpContentTypeHeaderInterceptor implements HttpInterceptor { '/social/signin/auth.json', '/shibboleth/signin/auth.json', '/signin/auth.json', + 'https://auth.dev.orcid.org/login', ] construct() {} @@ -18,7 +19,7 @@ export class HttpContentTypeHeaderInterceptor implements HttpInterceptor { // If the request contains a content type, be sure to set the encoding to utf-8 if (['POST', 'PUT'].includes(method)) { var clonedRequest - if (this.formUrlEcondedUrls.find((x) => urlWithParams.includes(x))) { + if (this.formUrlEcondedUrls.find((x) => urlWithParams.includes(x))) { clonedRequest = req.clone({ headers: req.headers.set( 'Content-Type',