Parse the Token Inline Hook request

The external service in this scenario requires code to handle the Token Inline Hook request from the Okta org. Use the Okta Token Inline Hook (opens new window) Glitch example to either build or copy the code (re-mix on Glitch) that parses the Token Inline Hook call.

Note: Make sure to have the required default code and packages in your project. See Common Hook Set-up Steps.

From the Token Inline Hook request, the following code retrieves the value of the user name from the data.identity object.

Instructions for