AW-821 use local storage for tokens
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma 2020-01-15 13:48:49 +01:00
parent e875ed5a12
commit 36cc8bea7e

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); })