diff --git a/src/services/apiBackend.js b/src/services/apiBackend.js index 5ed76e773..bc3c8767a 100644 --- a/src/services/apiBackend.js +++ b/src/services/apiBackend.js @@ -12,7 +12,7 @@ apiBackend.interceptors.request.use((config) => { const oidcAuthState = localStorage.getItem('oidcAuth') const token = localStorage.getItem(ACCESS_TOKEN) config.headers.Authorization = `Bearer ${token}` - config.headers['authorizationMehtod'] = oidcAuthState === true ? 'OIDC' : 'JWT' + config.headers.authorizationMethod = oidcAuthState === true ? 'OIDC' : 'JWT' return config })