Custom URI scheme disabled by default on new Android client

Im using the expo plugin on better-auth. I get this error when I try callbacks:
code":"INVALID_CALLBACKURL"
.

https://developers.google.com/identity/protocols/oauth2/native-app?authuser=1#redirect-uri_custom-scheme

It's recomended to use the newer Google Sigin SDK
Alternative to using custom URI schemes on Android
Use the Google Sign-In for Android SDK which delivers the OAuth 2.0 response directly to your app, eliminating the need for a redirect URI.


How do i do this using better-auth?
Screenshot_2025-03-05_at_12.04.13_AM.png
Was this page helpful?