Hi guys, I am new on Hydra. I would like to get ac...
# talk-hydra
g
Hi guys, I am new on Hydra. I would like to get access_token with the public client by PKCE flow, Here is the curl I use: curl --location 'https://hydra-api/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=authorization_code' \ --data-urlencode 'code=cZN66iW2Rw3XTTX52gDQzxhANQhuW_hnf3xBFphBQFg.TWD_vPQe_XEvEda5egc8BBXBJdsShSI4rXQiSTnw2R4' \ --data-urlencode 'redirect_uri=http://localhost:9000/' \ --data-urlencode 'code_verifier=1221212121211212122121123123123123123123123123123123123123123123123123123123123123123123123123' \ --data-urlencode 'client_id=657fd759-49ef-4d8c-9e33-54763b537e9e'. I assigned token_endpoint_auth_method as none. When I call it, I got the following error: Client credentials missing or malformed in both HTTP Authorization header and HTTP POST body. Can you help me with that? I am totally blind.