feat: interraction between the backend and keycloak
Some checks failed
CI / build (push) Failing after 9s
Some checks failed
CI / build (push) Failing after 9s
This commit is contained in:
@ -14,7 +14,8 @@ axiosInstance.interceptors.response.use(
|
||||
async (error) => {
|
||||
const originalRequest = error.config;
|
||||
if (
|
||||
error.response.status === 401 &&
|
||||
((error.response && error.response.status === 401) ||
|
||||
error.code == "ERR_NETWORK") &&
|
||||
!originalRequest._retry &&
|
||||
store.authenticated
|
||||
) {
|
||||
|
Reference in New Issue
Block a user