Complete OAuth flow by verifying callback and exchanging code for token
Store name (e.g., 'your-store.mysapo.net')
Full callback URL from OAuth process
Promise resolving to access token
If verification fails or token exchange fails
Generate OAuth authorization URL for user authentication
Authorization options including store and scopes
Authorization URL to redirect users to
Parse OAuth callback URL and extract authorization code
Full callback URL with query parameters
Parsed callback parameters
If required parameters are missing
Verify HMAC signature from Sapo
HMAC verification options
Whether the signature is valid
Handles OAuth authentication flow with Sapo API