diff --git a/backend/go.mod b/backend/go.mod index 5873cccf..f835ecd1 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -227,4 +227,4 @@ require ( modernc.org/sqlite v1.48.2 // indirect ) -replace github.com/ory/fosite => github.com/pocket-id/fosite v0.0.0-20260617200813-dd5303674b39 +replace github.com/ory/fosite => github.com/pocket-id/fosite v0.0.0-20260702114848-b55fb7985fde diff --git a/backend/go.sum b/backend/go.sum index 00fb61a1..5f3fb24f 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -390,8 +390,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pocket-id/fosite v0.0.0-20260617200813-dd5303674b39 h1:+gvFcRlW9RprrtKe0ltCWERkFkKlEBdFaQWMwBWGznQ= -github.com/pocket-id/fosite v0.0.0-20260617200813-dd5303674b39/go.mod h1:KeQ7tTIBm3DyeBnKcKLnPbSdrd6ttM6w3TD3yy9x8rM= +github.com/pocket-id/fosite v0.0.0-20260702114848-b55fb7985fde h1:cJZogAqQhjgDL0hj4hhJ2l5ppLvK8Vx38bJusOrHPyU= +github.com/pocket-id/fosite v0.0.0-20260702114848-b55fb7985fde/go.mod h1:KeQ7tTIBm3DyeBnKcKLnPbSdrd6ttM6w3TD3yy9x8rM= github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o= github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg= github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= diff --git a/frontend/messages/en.json b/frontend/messages/en.json index ea1c369b..5df36178 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -362,7 +362,7 @@ "login_code_email_success": "The login code has been sent to the user.", "send_email": "Send Email", "show_code": "Show Code", - "callback_url_description": "URL(s) provided by your client. Will be automatically added if left blank. Wildcards are supported.", + "callback_url_description": "URL(s) provided by your client. Wildcards are supported.", "logout_callback_url_description": "URL(s) provided by your client for logout. Wildcards are supported.", "api_key_expiration": "API Key Expiration", "send_an_email_to_the_user_when_their_api_key_is_about_to_expire": "Send an email to the user when their API key is about to expire.", diff --git a/tests/specs/oidc.spec.ts b/tests/specs/oidc.spec.ts index 53d5d364..b3461b87 100644 --- a/tests/specs/oidc.spec.ts +++ b/tests/specs/oidc.spec.ts @@ -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); });