Implementing Authentication
A guide to implementing OAuth2 so Seam can securely connect to your platform and access user devices.
OAuth2 with Access + Refresh Tokens
1. Authorization request launches the flow
Example authorization request
GET https://api.provider.com/oauth/authorize?
response_type=code&
client_id=seam_prod_123&
redirect_uri=https://example.com/oauth_redirect&
scope=locks.read%20locks.write&
prompt=login&
state=xyz1232. User login + consent screen


3. Redirect back to Seam with a code
4. Exchange the code for tokens
5. Calling your API with the access token
6. Refreshing tokens over time
Key requirements
Additional integration requirements
Stable User Identifier
Multiple Redirect URLs
Token Stability Requirements
Last updated
Was this helpful?

