question

bhampton avatar image
bhampton asked David Marginian Deactivated commented

need help getting authorization code in production

i am trying to get an authorization code so i can get an oauth2 token in prod. i am using this url, https://sandbox.dev.clover.com/oauth/authorize?client_id={APP_ID}. i use this in sandbox, pick a merchant and get my callback url with the auth code. In prod, i select a merchant and get this error: {"message":"Site URL not configured for developer app {MY APP_ID}"}.


what should i do to configure a site URL? I do not see the REST configuration option, how do i get it to show up?


In sandbox i see it:

  • App Type

edit

Android (Station, Mobile, Mini, Flex, Station 2018, Mini(2nd Generation)), REST Clients

· Requested Permissions

edit

Read and Write: Customers, Employees, Inventory, Merchant, Orders, Payments

Ecommerce

· REST Configuration

edit

Site URL: http://localhost:8080

Default OAuth Response: CODE

· Ecommerce Settings

edit

Set your integration type and what type of payments you'll take

· Android APKs


In production i don't see it.

  • App Type

edit

Android (Mobile, Mini, Station 2018, Mini(2nd Generation))

  • Requested Permissions

edit

Read and Write: Customers, Employees, Inventory, Merchant, Orders, Payments

Ecommerce

  • Ecommerce Settings

edit

Set your integration type and what type of payments you'll take


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

·
bhampton avatar image
bhampton answered David Marginian Deactivated commented

this is an urgent issue in prod. please provide assistance. using this site url, http://localhost:8080. is this the wrong port for prod?

10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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