openfga / sdk-generator

OpenFGA Client SDK Generator
Apache License 2.0
14 stars 30 forks source link

[All SDKS] Change OAuth2 credential request content type header to `application/x-www-form-urlencoded` #284

Closed rhamzeh closed 4 months ago

rhamzeh commented 5 months ago

As part of https://github.com/openfga/sdk-generator/issues/255 we realized that while Auth0 supports both the JSON and application/x-www-form-urlencoded as the Content-Type of the Credential Flow request, the standard actually requires the latter, as pointed out by @nverbos-godaddy in https://github.com/openfga/java-sdk/issues/47

We need to change the rest of the SDKs to use application/x-www-form-urlencoded