Using the ID for the User that you created earlier, add a Google Authenticator factor for that User:
- In Postman, open the Factors (Okta API) collection, and then the Factor Lifecycle Operations collection.
- Select the Enroll Google Authenticator Factor request template. The request appears on the right.
- In the request URL, replace the
{userId} variable with the user ID that you saved in the last step. - Click Send to add the Google Authenticator Factor for your user. A successful request results in an HTTP status code of
200 and a JSON payload response. - Save the Factor ID value (
id) from the response. - In the
\_embedded object located at the bottom of the response, locate the _links object and then the href value of the qrcode property. - Copy this URL and open it in a new tab of your browser. A QR code appears. We use this QR code in the next step.