Skip to main content

Comparison Table: V1 vs V2 Authentication

Introduction

This article outlines the differences between V1 and V2 authentication methods for the Lightspeed Restaurant K-Series APIs.

Key Differences Between V1 and V2 Authentication

FeatureV1 AuthenticationV2 Authentication
Authorization URL - TRIALhttps://api.trial.lsk.lightspeed.app/oauth/authorizehttps://auth.lsk-demo.app/realms/k-series/protocol/openid-connect/auth
Authorization URL - PRODUCTIONhttps://api.lsk.lightspeed.app/oauth/authorizehttps://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth
Token URL - TRIALhttps://api.trial.lsk.lightspeed.app/oauth/tokenhttps://auth.lsk-demo.app/realms/k-series/protocol/openid-connect/token
Token URL - PRODUCTIONhttps://api.lsk.lightspeed.app/oauth/tokenhttps://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token
ScopesSee Access ScopesAll previous scopes can be requested.

Optional scope offline_access now available. See Offline Access for more information.

All clients will automatically request User Profile and Email scopes, in addition to the scopes specified
Token ExpiryTokens expire after 60 minutesToken expiry variable, must be checked dynamically
Refresh TokensExpire after 14 daysRefresh token expiry variable, must be checked dynamically. Tokens without offline_access will have a shorter lifespan.
Token Request MethodPOST with URL parametersPOST with parameters in request body.