question

richa avatar image
richa asked David Marginian Deactivated answered

employee access

Hi,

Suppose I have merchant M and employee E under this merchant.Merchant M connects to my web portal via clover.Is there any API by which I can know whether employee is having permission to access my portal using clover ? Or By default employee E can access web portal which is connected by Merchant M.

Employees
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 David Marginian Deactivated edited

I am trying to help you, but you keep asking the same question over and over, so I must be misunderstanding what you are asking. Maybe it will help if I explain to you how things things work, if this explanation doesn't clear things up for your, please reply back with a specific question:

1) You will develop an app and you will get that app published in Clover's App Market.

2) A prospective merchant will see your app, decide they like it and install it.

3) You will guide the merchant through the OAuth flow (https://docs.clover.com/docs/using-oauth-20) and obtain an OAuth token on their behalf.

4) You will securely store the OAuth token, now your app can make API requests on the merchants behalf (limited, of course to the permissions your app has requested).

This has nothing to do with employees. If your app ("portal") wants to have it's own user management system and the merchant that installed that app creates 10 users in your system then your app will use the same token (that you securely stored in step 4) for API requests for those users.



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