AW-821 use local storage for tokens
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
Details
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
Details
parent
e875ed5a12
commit
36cc8bea7e
|
@ -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); })
|
||||
|
|
Loading…
Reference in New Issue