question

Dustin James avatar image
Dustin James asked Dustin James commented

OAuth 2.0 API Token Request - Unkown Client ID

I have researched this issue on this forum and am finding a recurring answer. "Make sure your app is on the sandbox environment."


https://community.clover.com/users/13658/davidmarginian.html


I'm trying to do so but I am unsure how to get the app on the sandbox. Could someone assist me if I gave you my client_id?


Thank you,

OAuth
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered Dustin James commented

In order to go through the OAuth flow you need to have a Clover app. You need to create a sandbox account and create an app, the general process is described here - https://docs.clover.com/docs/clover-app-approval-process

14 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dustin James avatar image Dustin James commented ·

Thank you. I have a clover app and a merchant in the sandbox. I am able to get the redirect with merchant_id, employee_id, client_id, and code. I then am testing the following.


curl -X GET https://sandbox.dev.clover.com/oauth/token?client_id={appId}&client_secret={APP_SECRET}&code={AUTHORIZATION_CODE}


This then gives me the "Unkown Client ID"

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ Dustin James commented ·

Please provide me with your client id.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ David Marginian ♦♦ commented ·

I saw your moderators only comment. I am responding here because for some reason when I respond to those comments they are not visible to you. Sandbox and production are separate environments. A production merchant can't install/authorize a sandbox app.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community