Setting up PKCE authorization for sequence record
This guide walks you through configuring OAuth 2.0 PKCE authorization, generating an access token, and recording an authenticated test sequence using the Beagle Sequence Recorder extension.
Overview
The process has three main stages:
- Configure PKCE authorization for your API in Beagle Security.
- Generate a personal access token and connect it to the Sequence Recorder .
- Record, finalize, and submit your authenticated sequence
Stage 1: Configure PKCE authorization
- From the Applications list, select the relevant API.
- Click the API configuration button.
- PKCE authorization can be set up under any of the following:
- Shared resources
- Default auth
- Role based auth
- Under Shared resources → Shared authorizations, click Add authorization.
- Enter an Authorization name.
- Set Type to OAuth 2.0.
- Configure the authorization data:
- Add authorization data to: Request headers
- Grant type: Authorization code (with PKCE)
- Set Authentication provider to Custom.
- Set Header prefix to Bearer.
- Provide details such as:
- Callback URL
- Auth URL
- Access token URL
- Client ID
- If you require Code challenge, set Code challenge method to SHA-256, and provide the required Scope.
- Provide:
- Client authentication method.
- Username and password of your account.
- Click Save.
Stage 2: Test authorization & generate access token
- Go to the Shared authorizations list, select your saved authorization, and click Test at the bottom of the side panel.
- Generate the personal access token.
Stage 3: Connect the Sequence Recorder
- Open the Beagle Sequence Recorder browser extension.
- Select Login PKCE.
- Enter both the tokens in their corresponding input fields:
- Personal access token
- PKCE recorder access token
- Click Continue. You can now begin recording your sequence on the target website.
Stage 4: Record the sequence
- Recommended: log out of the website before recording if you intend to replay the recording later.
- The recorded sequence will play back in a new browser tab.
- To make changes:
- Click Reset and redo the recording as needed.
- Once finalized, click Submit.
- Provide the necessary recording details, then click Submit to Beagle.
Stage 5: Retrieve the result token
- Return to the Beagle Security tab and click Refresh at the bottom of the side panel.
- If the recording was successful, a token will be generated. Click Get token to view the result token.
Action | Outcome |
|---|---|
Re-record in side panel | Creates a new recording. Deletes the previous recording and its result token. |
Update tokens in Beagle Sequence Recorder | Use this in the Sequence Recorder if switching to a different account to create another recording. |
Updated on: 07/07/2026
Thank you!