mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-13 21:29:04 +02:00
feat: drop TOFU support for callback URL
This commit is contained in:
@@ -940,9 +940,7 @@ test.describe('OIDC prompt parameter', () => {
|
||||
|
||||
await page.goto(`/authorize?${urlParams.toString()}`);
|
||||
|
||||
await expect(page.locator('body')).toContainText(
|
||||
"The 'redirect_uri' parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls."
|
||||
);
|
||||
await expect(page.locator('body')).toContainText('is not registered for this client.');
|
||||
expect(attackerRedirected).toBe(false);
|
||||
});
|
||||
|
||||
@@ -995,9 +993,7 @@ test.describe('OIDC prompt parameter', () => {
|
||||
|
||||
await page.goto(`/authorize?${urlParams.toString()}`);
|
||||
|
||||
await expect(page.locator('body')).toContainText(
|
||||
"The 'redirect_uri' parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls."
|
||||
);
|
||||
await expect(page.locator('body')).toContainText('');
|
||||
|
||||
expect(attackerRedirected).toBe(false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user