Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REG 2.0->2.1] Token failure when client_id and/or client_secret is undefined #40

Open
orgads opened this issue Nov 10, 2024 · 0 comments · May be fixed by #41
Open

[REG 2.0->2.1] Token failure when client_id and/or client_secret is undefined #40

orgads opened this issue Nov 10, 2024 · 0 comments · May be fixed by #41

Comments

@orgads
Copy link

orgads commented Nov 10, 2024

Since the default export of oauth has been removed, all the parameters must be passed to clientCredentials. But if client_id or client_secret is undefined, it is passed as a stringified "undefined" in the request, which fails it.

Undefined params should be stripped before sending the request.

orgads added a commit to audiocodes/axios-oauth-client that referenced this issue Nov 10, 2024
@orgads orgads linked a pull request Nov 10, 2024 that will close this issue
orgads added a commit to audiocodes/axios-oauth-client that referenced this issue Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant