Branch change commit

This commit is contained in:
Julius Gruber
2019-09-05 08:00:54 +02:00
parent 6167012e32
commit 917783e34b
4 changed files with 11 additions and 6 deletions

View File

@@ -118,14 +118,14 @@ export class AuthService {
shibbolethAuthenticate(location: string) {
// implement a call to the backend here
console.log('location: ', location);
return this.authRequestService.postToEndpoint('login').pipe(
/*return this.authRequestService.postToEndpoint('login').pipe(
map((status: AuthStatus) => {
if (status.authenticated) {
return status;
} else {
throw(new Error('Shibboleth login failed'));
}
}))
}))*/
}
public startShibbAuth(): Observable<AuthStatus> {