Oauth 2.0 Password Grant Flow Capability

Hello - We are working with a customer that required OAuth2.0 password grant flow (grantype=password) with the following fields (from docs):

curl --request POST
–url http://api_url.com/api/token
–header “Content-Type: application/x-www-form-urlencoded”
–data grant_type=password
–data username=XXXXXX
–data password=xxxxxxx
–data domain=XXXX
–data client_id=XXXXX
–data client_secret=XXXXX (optional)

Is there anyway in Nextworld to configure a token endpoint using grant_type=password? We also tried setting the content-type to an endpoint as application/x-www-form-urlencoded and passing the form fields in the body of the request. But that seems to only send as a JSON?

Thanks!

I did some looking back to when this had previously come up in the past and to send a application/x-www-form-urlencoded request what I’ve seen is you specify those keys as query parameters instead of putting them in the request body, and leave the request body empty.