We have a use case where we would like to generate a magic link for a user to login to our application, but then redirect immediately to a particular resource. The actual use case is we are a document platform (www.arity.co) and we would like to generate a magic link which, after authentication, redirects immediately to a shared document in our application. I am trying to figure out the proscribed way of doing this.
Can we customize the magic link at all so that the user is redirected to a particular resource (document) in our app? How can this be achieved?
It seems the passwordless API supports “authParams” that allow you to add any query param you want to a generated magic link? Can we add a “redirect” url query param and then redirect the user after the authentication transaction within an Auth0 rule?
Help! Thank you.