Getting API Keys

in Development
Hi I'm on the "Requesting a temporary token" step in the developer's guide.
When I entered my client details I put "https://localhost" for both my "Redirect URI" and "Website."
Then I went here with my generated client id "https://cloud.lightspeedapp.com/oauth/authorize.php?response_type=code&client_id={client_id}&scope=employee:all"
When I click "Authorize Application" the website is invalid.
How can I get past this step and how can I get API keys?
8 comments
Hi @alanzano,
Thank you for contacting us. What do you mean by the website is invalid?
After authorizing your application, are you seeing something like this?
http://{redirect_uri}?code={temporary
token}Please show me what you are doing with some screenshots?
Hi, thanks for the reply! I'm getting the following page:
Can you show me your URL?
It's this with my client id in place of "{client_id}"
https://cloud.lightspeedapp.com/oauth/authorize.php?response_type=code&client_id={client_id}&scope=employee:all
Would it be better if we got on a call?
Can you show me the URL after you've authorized your application?
Sorry for the delay, the url from that web page is:
https://localhost/?code=add8a62e7bf75ae6e8acbbe50da72e1e37ef00f1
Hey, you'll need to regenerate that token (as it expires every 30 seconds) and then make a access token request:
This will furnish you with a refresh token and access token
Adrian Samuel
Software Developer
Lightspeed HQ