Polar Plugin (accesing portal error)

Hi so i've been updating my better auth version and plugins, i was using v1.2.5 and now 1.2.12 and now using newest version of polar plugin (1.0.3 and was previously on 0.0.9)

So before i used to redirect from the frontend to my backend using router.push redirecting to backend_url/api/auth/portal

Now looks like it changed to /api/auth/customer/portal

Thing is they also have this new way to redirect user to portal using authClient (photo 1)

And on my backend i get this error (photo 2)

Anyone help? thanks
image.png
image.png
image.png
Was this page helpful?