How do I create a client/app for my server side ap...
# talk-hydra
a
How do I create a client/app for my server side application that doesn’t expect pkce ? When I create a client with client id and secret and do auth, I get the below error "debug":"The server is configured in a way that enforces PKCE for clients.","message":"invalid_request","reason":"Clients must include a code_challenge when performing the authorize code flow, but it is missing. I tried setting token_endpoint_auth_method to “none”, but it doesn’t help.
If you're on Ory Network:
Copy code
ory patch oauth2-config $PROJECT_ID --replace /oauth2/pkce/enforced=false --format yaml
Note that using PKCE is highly recommended if at all possible.
a
Thanks Arne for the quick response.