Redirect using cookies after login

Currently working on a SharePoint site with auth0 universal login.
I’m trying to redirect users back to the page they came from after they log in.

The problem is that when we try and redirect to a page with multiple query parameters, anything after the first parameter gets removed. From what ive seen, there doesnt seem to be a way to fix this issue (although if there is i would appreciate a solution!).

So we’ve started looking into using cookies to redirect using auth0 actions. The problem is that i cant seem to find a way to actually read the cookies from the session through actions, if anyone has a solution to either of these problems it would be greatly appreciated!!

Hi @cshamah,

Welcome to the Auth0 Community!

We recommend using state to redirect users after login.

Here is the doc for it: