Only one endpoint(to get temp tokens) for multiple users(clients), possible or not?

MilanMilan Member Posts: 2

I am developer and I want to integrate lightspeed shops into my application.

 

1. Does I must provide unique endpoint(redirectURI to get temp token) for each client(store) separately or I can use one for all clients(store)?


2. Can I request a new token(via refresh token) even though the current token has not expired?


Thank in advance!


2 comments

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 654 moderator
    Hey @Milan, thanks for your question!

    1. Yes you need to provide that url to set the scope and get the access grant to get the temp code for that account.

    2. You can but if it hasn't expired it will return the same token 

    Adrian Samuel

    Software Developer

    Lightspeed HQ

Sign In or Register to comment.