diff --git a/projects/common/src/fm/shared/app.config.factory.ts b/projects/common/src/fm/shared/app.config.factory.ts index 6a6d66d..2dfbd7e 100644 --- a/projects/common/src/fm/shared/app.config.factory.ts +++ b/projects/common/src/fm/shared/app.config.factory.ts @@ -40,7 +40,9 @@ export function appConfigFactory(injector:Injector, appConfig: AppConfig, oauthS if (!oauthService.hasValidAccessToken()) { if(appConfig.getConfig("grantType") == "code") if(oauthService.getRefreshToken() != null ) { - oauthService.refreshToken(); + oauthService.refreshToken().then(() => { + router.navigateByUrl(urlPath); + }) } else { oauthService.initCodeFlow(urlPath); }