Revert "feat(op): always verify code challenge when available (#721)"
Breaks OIDC for some not yet updated applications, that we use.
This reverts commit c51628ea27
.
This commit is contained in:
parent
d6e37fa741
commit
154fbe6420
6 changed files with 15 additions and 42 deletions
|
@ -130,7 +130,7 @@ func TestServerRoutes(t *testing.T) {
|
|||
"client_id": client.GetID(),
|
||||
"client_secret": "secret",
|
||||
"redirect_uri": "https://example.com",
|
||||
"code": "abc",
|
||||
"code": "123",
|
||||
},
|
||||
wantCode: http.StatusBadRequest,
|
||||
json: `{"error":"invalid_grant", "error_description":"invalid code"}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue