mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +00:00
Branch change commit
This commit is contained in:
@@ -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> {
|
||||
|
Reference in New Issue
Block a user