Organization Invitation Does not Create User

I’m using organizations with an SPA. My backend calls the management API Create invitations to an organization route and generates the URL. I send the invitation email with URL to the email address using my email service. The URL has the correct invitation ticket, and org ID and name query params. In my app, when I detect an invitation ticket in the query, I call loginWithRedirect with the invitation and organization auth params:

  const url = window.location.href;
  const inviteMatches = url.match(/invitation=([^&]+)/);
  const orgMatches = url.match(/organization=([^&]+)/);

  if (inviteMatches && orgMatches) {
    loginWithRedirect({
      authorizationParams: {
        organization: orgMatches[1],
        invitation: inviteMatches[1],
      },
    });
  }

This navigates the user to the Auth0 “You’ve Been Invited” page, where they are asked to login with email and password. The issue is that, of course, they can’t login! They don’t have a user or password yet!

The documentation implies that a user will be created if it doesn’t exist, but that is not happening.
How is this flow supposed to work?

Thanks,
Dave

From Invite Organization Members

If you would like to assign a member to an Organization, but the user does not yet exist in your data store (or the user exists in your data store but is not yet a member of your organization), you can invite them to the organization. In this case, the user will receive an email containing a link that will allow them to create an account or log in and join the organization, optionally with predefined roles, and be redirected to your application so that they can immediately start using it.

This makes it seem like inviting an email will give the invitee a way to sign up as part of the invitation acceptance process.
Is that correct?

Does anyone else have this working? If so, how’d you set it up?