• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • App Market Developer Platform
  • Clover GO
  • Ideas & Feedback
  • Semi-Integration
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
Skip to main content
  • Create
    • Ask a question
    • Post an idea
    • App Market Developer Platform
    • Clover GO
    • Ideas & Feedback
    • Semi-Integration
    • Topics
    • Questions
    • Articles
    • Ideas
  • Sign in
  • Home
  • App Market Developer Platform
This question was closed Apr 02 at 09:53 PM by Clover_Community_Bot for the following reason: automated

question

Jonathan avatar image
Jonathan asked · Jan 04, 2016 at 10:22 AM

Authentication for Web App without actual employee

I am building a webapp that will need to access Clover without having an actual employee.

My initial plan was to allow the merchant to create a login for the web app and then enter that login in the configuration page. The webapp would store that login and use that login for all actions. The problem I am seeing with this is that it is not obvious to me how the merchant will create a login. I see that the merchant could create an employee with a PIN, but this appears to me to be different than a login that can be used to perform an OAUTH authentication. I do not actually see how to create the login. Also I am not particularly fond of this method as it will require the merchant to perform some technical steps. Is this possible or even a desirable process to follow?

Alternatively, I would create a "webapp" employee as part of the initial configuration using the REST API. Again, I can see how to create the employee, but not the associated Login. I looked in both V2 and V3 API. Is there a method for this?

If there is not a REST API method, does this mean that I really need to use the merchant API Tokens method?

OAuth
Comment
0
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered · Jan 04, 2016 at 04:51 PM Locked

Who is going to be using your web app if it is neither the merchant or an employee? Your question sounds similar to this one:

http://devask.clover.com/question/969...

Let us know if that answers your question.

· 1 comment · Share
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

Jonathan avatar image Jonathan · Jan 04, 2016 at 08:26 PM

I think this answers it. I did not understand that the OAuth token is permanent. I was assuming that I needed to get a new one on a regular basis.

0 · ·

Welcome to the
Clover Developer Community

question details

1 Person is following this question.

Jonathan follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions

How to get API Token for Clover Native App? 1 Answer

How to get Oauth access token?? 0 Answers

server to server oauth process 1 Answer

Auth token not working in android app 2 Answers

how to obtain oauth token from webpage xmlhttprequest 1 Answer

Answerhub Logo
  • About
  • ·
  • FAQ
  • ·
  • Privacy
  • ·
  • Copyright © 2010-19 DZone, Inc.