Activate and enable
The Registration Inline Hook must be set up and activated within your Okta Admin Console and enabled on the self-registration page.
To set up and activate the Registration Inline Hook:
Navigate to the Workflow > Inline Hooks page.
Click Add Inline Hook and select Registration from the drop-down menu.
Add a name for the hook (in this example, "Guide Registration Hook Code").
Add your external service URL, including the endpoint. For example, use your Glitch project name with the endpoint:
https://your-glitch-projectname.glitch.me/registrationHook
.Include authentication field and secret. In this example:
- Authentication Field =
authorization
- Authorization Secret =
Basic YWRtaW46c3VwZXJzZWNyZXQ=
- Authentication Field =
Click Save.
The Registration Inline Hook is now set up with a status of active.
Note: You can also setup an inline hook using an API. See Inline Hooks Management API for further information.
To enable the Registration Inline Hook on the self-service registration page:
- Navigate to Directory > Self-Service Registration.
- Click Edit.
- From the Extension field drop-down menu, select the hook you set up and activated previously ("Guide Registration Hook Code") .
- Click Save.
The Registration Inline Hook is now enabled for self-service registration. For a high-level overview of enabling the Registration Inline hook, see Registration Inline Hook Reference.
You are now ready to preview and test the Registration Inline Hook.