feat: drop TOFU support for callback URL

This commit is contained in:
Elias Schneider
2026-07-02 14:05:37 +02:00
parent 8564d35682
commit 931a6c2adb
4 changed files with 6 additions and 10 deletions
+2 -6
View File
@@ -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);
});