Problem: Not redirecting to Auth0 signup when using invitation

Hi @imran.khan

Welcome to the Auth0 Community!

I believe the issue resides in the fact that you are trying to redirect the user to a /signup? endpoint instead of an /authorize? or a valid invite link.

You would need to generate an organization invite link via the Management API which would look something like this:

https://{{AUTH0_DOMAIN}}/authorize?
response_type=code&connection={{CON_ID}}&
client_id={{CLIENT_ID}}&
redirect_uri={{REDIRECT_URI}}&
invitation={{INVITATION_ID}}&
organization={{ORG_ID}}1X&organization_name={{ORG_NAME}}

If an invited used does not yet exist, they will be asked to create a password in order to signup:

If you want to redirect to a specific signup page including an organization invite, you would need to follow the steps above or enable automatic membership for the organization whenever a user signs up.

If you have any other questions, let me know!

Kind Regards,
Nik

1 Like