diff --git a/modules/components/src/utils/KeyCloak/KeyCloakMiddleware.js b/modules/components/src/utils/KeyCloak/KeyCloakMiddleware.js index 09b4d471e..0a61ccce5 100644 --- a/modules/components/src/utils/KeyCloak/KeyCloakMiddleware.js +++ b/modules/components/src/utils/KeyCloak/KeyCloakMiddleware.js @@ -1,5 +1,7 @@ import React, { useState, useEffect } from 'react'; import { ReactKeycloakProvider as KeycloakProvider } from '@react-keycloak/web'; +import { Spin } from 'antd'; +import './keycloak.css'; import { keycloak } from './config'; import { tokenTimer } from './tokenTimer'; @@ -62,7 +64,11 @@ const KeyCloakMiddleWare = ({ children }) => { checkLoginIframe: false, }} > - {!isKeycloakReady ?