google oauth redirect

i am trying to redirect to particular page on nextjs after auth with google. it temporarily redirects to the page (status code 307) but redirects again to login.



appreciate any help.
Screen_Shot_2022-09-24_at_8.50.38_PM.png
Was this page helpful?