Next.js: Redirecting after users visite invitation link

Using the app router and have organizations enabled. When users click on the invitation link and authenticate, the land on: http://www.example.com/login?invitation=xxxx&organization=org_xxxx&organization_name=xxx

This page is treated as a 404.

How do I redirect users to a specific page after the accept the invitation?

Hi @jerry.adaji,

Welcome to the Auth0 Community!

You could add the redirect_uri parameter in the request to send users to a specific page after they accept the invitation.

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.