# Custom Token

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2FlrwMvNwcNPaHjxECLAnD%2Fimage.png?alt=media\&token=c297d0f8-6bf8-43bd-892c-e99fe2ee168c)

If you are having issues relating to custom token error when logging into mobile app. Make sure the following:

1. Same Firebase project for the mobile apps and the backend. Check how to setup firebase on mobile here: <https://bakoambrose.gitbook.io/fuodz/flutter-app/firebase> and how to setup backend firebase here: <https://bakoambrose.gitbook.io/fuodz/backend/firebase>
2. Make sure you have uploaded google-service.json to the backend. Steps are recorded here <https://bakoambrose.gitbook.io/fuodz/backend/firebase>
