Skip to content
Back

Redirect from clicking team invite link to app

  • 0
  • Self Hosted
  • React Native
alminim0
16 May, 2026, 15:32

Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API) that I have no idea how to redirect a user to the app after they click on the link sent to them from the createMembership function. The function is called on the client side, and a url is passed to it (which is of the form <domain>/accept-invite, but currently no such page exists). If it helps, my appwrite is self hosted, the client is written in react native, and I'm testing this on an android.

TL;DR
Developers unsure how to redirect user to app after clicking team invite link. `createMembership` function called on client side with URL parameter. Currently no page exists for redirection. App is self-hosted, client in react native, testing on android. Solution: Create a new page `<domain>/accept-invite` and add necessary code for redirection to app.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more