AW-821 use local storage for tokens
FarmMaps.Develop/FarmMapsLib/develop This commit looks good Details

pull/1/head
Willem Dantuma 2020-01-15 13:48:49 +01:00
parent e875ed5a12
commit 36cc8bea7e
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export function appConfigFactory(injector:Injector, appConfig: AppConfig, oauthS
}
});
oauthService.configure(authconfigFactory.getAuthConfig(appConfig));
oauthService.setStorage(localStorage);
oauthService.tokenValidationHandler = new JwksValidationHandler();
oauthService.tokenValidationHandler.validateAtHash = function () {
return new Promise<boolean>((res) => { res(true); })