How to Dynamically redirect after logged in with google auth provider

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

I currently building a E-commerec App and I’m Stuck with alot of issues about google auth provide
I have a login form where users can login with google

and i have also integrated the form in checkout page as well

Now when I’m logging in from login page after processing strapi is redirecting me back to login page because i added login page url in strapi provider

but when i login from checkout page its redirecting me back to login page again i want to be redirected to checkout page after getting logged in

Please help on this issue how can i add multiple and dynamic redirect urls in strapi Google Provider