[auth0-react] loginWithRedirect with invitation code v2

In previous version 1 of @auth0/auth0-react, I was using
loginWithRedirect({
invitation,
organization,
});

after updating to version 2, invitations is no longer part of loginWithRedirect. How do i add invitation code in v2?

Hey there!

In order to handle that most effectively can I ask you to raise a GitHub issue in the SDK repo so we can discuss it directly with repo maintainers? Once you have a link to it make sure to share it here so we can ping them. Thank you!