Added backend lookup if shibboleth is enabled

This commit is contained in:
Julius Gruber
2019-06-25 13:10:19 +02:00
parent 14419ca567
commit 26f01d6f8f
10 changed files with 46 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ import {select, Store} from '@ngrx/store';
import {Observable} from 'rxjs';
import {
AuthenticateAction,
ResetAuthenticationMessagesAction, ShibbLoginAction
ResetAuthenticationMessagesAction, GetJWTafterShibbLoginAction
} from '../../core/auth/auth.actions';
import {
@@ -234,7 +234,7 @@ export class LogInComponent implements OnDestroy, OnInit {
dispatchShibbLoginAction() {
console.log('dispatchShibbLoginAction() was called');
// const ssoLoginUrl = 'https://fis.tiss.tuwien.ac.at/Shibboleth.sso/Login'
this.store.dispatch(new ShibbLoginAction());
this.store.dispatch(new GetJWTafterShibbLoginAction());
// this.store.dispatch(new AuthenticateAction(email, password));
}