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:

  1. In the Admin Console, go to Workflow > Inline Hooks.

  2. Click Add Inline Hook and select Registration from the drop-down menu.

  3. Add a name for the hook (in this example, "Guide Registration Hook Code").

  4. Add your external service URL, including the endpoint. For example, use your Glitch project name with the endpoint:

  5. Include authentication field and secret. In this example:

    • Authentication Field = authorization
    • Authorization Secret = Basic YWRtaW46c3VwZXJzZWNyZXQ=
  6. 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:

  1. In the Admin Console, go to Directory > Self-Service Registration.
  2. Click Edit.
  3. From the Extension field drop-down menu, select the hook you set up and activated previously ("Guide Registration Hook Code") .
  4. 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.