From e631f606e7bc34a17a55a88a50dfc0d7ed35fa02 Mon Sep 17 00:00:00 2001 From: Dan Milne Date: Sat, 3 Jan 2026 12:29:27 +1100 Subject: [PATCH] Better error messages --- app/controllers/oidc_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/oidc_controller.rb b/app/controllers/oidc_controller.rb index 86342b5..436cb71 100644 --- a/app/controllers/oidc_controller.rb +++ b/app/controllers/oidc_controller.rb @@ -927,7 +927,7 @@ class OidcController < ApplicationController return { valid: false, error: "invalid_request", - error_description: "Invalid code_verifier format. Must be 43-128 characters of base64url encoding", + error_description: "Invalid code_verifier format. Must be 43-128 characters [A-Z/a-z/0-9/-/./_/~]", status: :bad_request } end