Hello, I am trying to use the OAuth 2.0 Authoriza...
# ory-network
n
Hello, I am trying to use the OAuth 2.0 Authorization Endpoint (https://www.ory.sh/oauth2/auth) with the POST method instead of GET. My goal is to pass parameters in the body with Content-Type: application/x-www-form-urlencoded rather than as query parameters in the URL. When I make a POST request to the OAuth 2.0 Authorization Endpoint, passing the parameters in the body, I am able to successfully retrieve the login_challenge. However, after accepting the login_challenge using the URL https://www.ory.sh/admin/oauth2/auth/requests/login/accept, I receive an OAuth2RedirectTo object. This object contains a redirectTo value that includes only the login_verifier, but it does not have other essential parameters like client_id, redirect_url, etc. When I try to authenticate using only the login_verifier, the authentication process fails with the following error: "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)." Could you please help me identify what might be going wrong, and how I can resolve this issue? I would really appreciate any assistance you can provide. Thank you in advance for your time and support!