mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
Get tokoen from backend
This commit is contained in:
@@ -115,7 +115,8 @@ export class AuthService {
|
||||
}
|
||||
|
||||
public startShibbAuth(): Observable<AuthStatus> {
|
||||
return this.authRequestService.postToShibbEndpoint().pipe(
|
||||
console.log('startShibAuth() was called');
|
||||
return this.authRequestService.postToEndpoint('login').pipe(
|
||||
map((status: AuthStatus) => {
|
||||
if (status.authenticated) {
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user