Pre-Registration Action with event.request.query
Last Updated:
Overview
When sending an invitation link, the Client stores an expiration date for the invitation and generates a GUID as an ID. That GUID is passed in the querystring of the invitation link and can be used in Post-Login Actions.
This article explains whether the querystring object can be used with Pre-Registration Actions.
Applies To
- Pre-Registration Action
- Globally Unique Identifier (GUID)
- Invitation Link
- User Creation
Solution
The event.request.query property is not available at the Pre-registration Action; it is available only at the Post-Login Action.
As a workaround, create and host a proxy application that will handle the logic before sending a user to Auth0 for account registration.