Merged PR 1141: #2962 2956 Keycard Login IPAD Fix

#2962 2956 Keycard Login IPAD Fix
This commit is contained in:
Nino Righi
2022-03-29 12:02:34 +00:00
committed by Andreas Schickinger
parent 9c517810ba
commit eff0388b8f

View File

@@ -73,6 +73,14 @@ export class AuthService {
}
setKeyCardToken(token: string) {
const authConfig: AuthConfig = this._config.get('@core/auth');
authConfig.redirectUri = window.location.origin;
authConfig.silentRefreshRedirectUri = window.location.origin + '/silent-refresh.html';
authConfig.useSilentRefresh = true;
this._oAuthService.configure(authConfig);
this._oAuthService.tokenValidationHandler = new JwksValidationHandler();
this._oAuthService.customQueryParams = {
temp_token: token,
};