From ed6e64fad8812f21a7cff9ffa1aa008b5605b5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Ram=C3=A9?= <8195958+sneko@users.noreply.github.com> Date: Mon, 21 Jul 2025 17:03:15 +0200 Subject: [PATCH] fix: production needs credentials to be passed as body --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6a103f..38ac6c6 100644 --- a/README.md +++ b/README.md @@ -291,6 +291,9 @@ const client = new ClientCredentials({ tokenHost: 'https://api.helloasso.com', tokenPath: '/oauth2/token', }, + options: { + authorizationMethod: 'body', + }, }); // Get an access token @@ -425,4 +428,4 @@ const { authorizationUri, codeVerifier } = getAuthorizationUrl(); This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - Generator version: 7.10.0 -- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen \ No newline at end of file +- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen