Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Request.auth == null even though authenticated in firebase

$
0
0

Hi
Had to start a new project to debug a production issue. Suddenly basic collection reads fail on the firestore database:

FirebaseError: Missing or insufficient permissions.
    at new e (prebuilt-109c6673-0f51e182.js:188)
    at prebuilt-109c6673-0f51e182.js:10416
    at prebuilt-109c6673-0f51e182.js:10417
    at e.onMessage (prebuilt-109c6673-0f51e182.js:10439)
    at prebuilt-109c6673-0f51e182.js:10356
    at prebuilt-109c6673-0f51e182.js:10387
    at prebuilt-109c6673-0f51e182.js:15194
    at ZoneDelegate.invoke (zone.js:400)
    at Zone.run (zone.js:160)
    at zone.js:1318

If I transplant the code for basic reads into a copy of the production app (full src folder swap), things work fine. App also works fine if you set full access to all users.

Any people experienced similar issues with starting from angular 12 app (and then ng add @angular/fire)? Old project is angular 11. More details already reported on firebase sdk given similarities with earlier issue.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>