can't request token
when I POST request with this payload it said
invalid_request grant_type missing but I have grant_type sent with payload
or I need to GET?



10 Replies
https://zitadel.com/docs/apis/openidoauth/endpoints#token_endpoint
I follow this doc
request with postman also give a same result

here is my configuration

Hey usually the client would send the params as form parameters
https://openid.net/specs/openid-connect-core-1_0.html#TokenRequest
Have you tried that?
Final: OpenID Connect Core 1.0 incorporating errata set 2
OpenID Connect Core 1.0 incorporating errata set 2
I have but it still same


but for postman it can now
I'm so confused
I added header Content-Type = application/x-www-form-urlencoded

here the payload for this request

I solve that
frontend has sent raw url to endpoint that why it not work
now he sent encodeurl to endpoint now it work
Perfect, thanks for sharing!
Btw. I think postman has built-in support for oauth2 which can request the token for you.
i think so