question

e2al avatar image
e2al asked sam Deactivated answered

Don't understand oauth response

I am just trying to experiment with the API via Postman. Also, I am new to OAuth.
As I understand it, I need to issue a
https://sandbox.dev.clover.com/oauth/authorize?client_id=ABC123
Which will respond with an authorization code.
I can then use that code to make the call:
https://sandbox.dev.clover.com/oauth/token?client_id=ABC123&client_secret=MYSECRET123&code={codeUrlParam}
which returns a token I can use for calls like:
https://apisandbox.dev.clover.com/v3/merchants/MMM123/orders

But the response to the authorize call is a 50 line hmtl page, in which I cannot find anything that appears to be the code I need.

What am I misunderstanding or doing wrong?
Thanks.
PaymentsOAuth
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

sam avatar image
sam Deactivated answered
Hi,
You won't be able to go through the OAuth process using Postman as it's a client and not a real browser. You'll need to be able to sign in to your Clover account and redirect.

Here's a quick video overview of how to do OAuth using webapp:
https://www.youtube.com/watch?v=6riNP_wlKcU

Best,
Sam
10 |2000

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

Welcome to the
Clover Developer Community