Overview
Beam API Uses OAuth
All requests to the Beam service are governed by OAuth 2.0 (quick primer) and follow the standard authorization-access token flow.
The Beam implementation closely follows RFC 6749.
OAuth Flow Overview
When a user attempts to authorize their Beam account from your application, the following happens:
Your app generates the Authorization URL and displays the Beam login form to the user (see Step 1)
Beam attempts to authenticate the supplied credentials, and if successful, the user is asked to authorize access to their Beam account.
When the user authorizes access, an
authorization_code
is sent back to your app via aGET
request (see Step 2)Next, your app uses the
authorization_code
to request anaccess_token
andrefresh_token
(see Step 3)Once you have an
access_token
, you can call the Beam API on the user's behalf (see Step 4)
Last updated