Revert "[CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp"

This reverts commit 73a9fe16
This commit is contained in:
Giuseppe Digilio
2021-07-19 17:54:02 +02:00
parent 98cecd3e84
commit fbde0cbad9
8 changed files with 48 additions and 206 deletions

View File

@@ -6,7 +6,6 @@ import { EPerson } from '../../core/eperson/models/eperson.model';
import { createSuccessfulRemoteDataObject$ } from '../remote-data.utils';
import { AuthMethod } from '../../core/auth/models/auth.method';
import { hasValue } from '../empty.util';
import { RetrieveAuthMethodsAction } from '../../core/auth/auth.actions';
export const authMethodsMock = [
new AuthMethod('password'),
@@ -167,12 +166,4 @@ export class AuthServiceStub {
clearRedirectUrl() {
return;
}
public replaceToken(token: AuthTokenInfo) {
return token;
}
getRetrieveAuthMethodsAction(authStatus: AuthStatus): RetrieveAuthMethodsAction {
return;
}
}