mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Remove workaround for authn library
This is no longer necessary since dependencies have been updated
This commit is contained in:
parent
e09b53b20d
commit
7d57359613
@ -104,10 +104,7 @@ export class IdentityTestState {
|
||||
const url = await this.handleLocationRedirect(res);
|
||||
expect(url.startsWith(this.redirectUrl)).toBe(true);
|
||||
|
||||
// Workaround for https://github.com/inrupt/solid-client-authn-js/issues/2985
|
||||
const strippedUrl = new URL(url);
|
||||
strippedUrl.searchParams.delete('iss');
|
||||
const info = await this.session.handleIncomingRedirect(strippedUrl.href);
|
||||
const info = await this.session.handleIncomingRedirect(url);
|
||||
expect(info?.isLoggedIn).toBe(true);
|
||||
expect(info?.webId).toBe(webId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user