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



4 Replies
I recommend opening an issue on Polars github about this
the plugin is managed by the polar side
https://github.com/polarsource/polar-adapters/tree/main/packages/polar-betterauth
GitHub
polar-adapters/packages/polar-betterauth at main · polarsource/pol...
Dead simple Checkout and Payment Integrations. Contribute to polarsource/polar-adapters development by creating an account on GitHub.
you should ask them
aight thank you, i will. Anyways i decided to migrate to stripe plugin
Funny because i switched to polar bc at the time, Stripe was buggy xd