I’m using auth0 to enable my customers logging into their dashboard. each user must belong to organization. I am using a google authentication, so I can’t add users as members before they first loggin in, so I need to use the invitation feature.
I’m trying to login using the invitation and organization URL params recieved from the invite, but didn’t have any success:
let invitation = params.get("invitation") || undefined;
let organization = params.get('organization') || undefined;
if(invitation && organization) {
let result = await loginWithRedirect({
authorizationParams: {
invitation,
organization,
}});