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_codeis sent back to your app via aGETrequest (see Step 2)Next, your app uses the
authorization_codeto request anaccess_tokenandrefresh_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