Redirect URI mismatch on standalone app

Hi everyone, I have build standalone android app using npx expo run:android. My app has code google login using AuthSession.

Google login works nicely in ExpoGo app but does not work in standalone Androidapp. It fails with error 400: redirect uri mismatch.

const [request, response, promptAsync] = Google.useAuthRequest({
expoClientId:“”;
androidClientId:“”,
iosClientId:“”,
scopes: [“https://www.googleapis.com/auth/gmail.readonly”],
});

Any suggestions

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.