Google Provider not respecting redirectedFrom query param

When utilizing withMiddlewareAuth from @supabase/auth-helpers-nextjs, a redirectFrom param is provided so you can use it to redirect back to the protected page. When logging in via the Google provider, the parameter is lost on the way back. What is the best way to achieve the ability to redirect back to the previous page when logging in via Google?
Was this page helpful?