Google Chrome DevTools
To create an authentication object in the Bright app, you must get the valid parameters and values required for a successful authentication setup. These parameters are unique for every authentication flow.
Recording an authentication flow
To record an authentication flow, you can use the Google Chrome Recorder. To it, follow these steps:
- Start with closing the Google Chrome browser and reopen it in Incognito mode to avoid caching
- Right-click anywhere on the web page and choose Inspect from the context menu. Alternatively, click the three dots icon at the top-right corner of Chrome, go to More tools, and select Developer tools.
You can use the keyboard shortcut
Ctrl + Shift + I
for Windows/Linux orCmd + Option + I
for Mac. - In the DevTools panel, click on the three dots icon
- Go to More tools and then Recorder
To record an authentication flow, follow these steps:
-
Click on the Recorder panel, and a recording tool will appear
-
Open your login page and then click on Create a new recording
-
If needed, specify a name, selector attribute, and selector type to record, and then click on Start recording.
-
Perform the login actions on the web page (for example, enter credentials and click login).
-
Click on the End recording in the recording panel to stop the recording.
Verification
To make sure that the authentication flow is valid, do the following:
-
Close the Google Chrome window and reopen it in Incognito mode.
-
Open the Recorder and select the recording you just made.
-
Click on the Replay in the top-right corner of the Recorder panel.
You will be logged into your application if the authentication flow is valid.
Updated about 2 months ago