Skip to content

Commit

Permalink
test: Remove workaround for authn library
Browse files Browse the repository at this point in the history
This is no longer necessary since dependencies have been updated
  • Loading branch information
joachimvh committed Jan 15, 2024
1 parent 19f9ef7 commit 1ce9d77
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/integration/IdentityTestState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1ce9d77

Please sign in to comment.