meumobi / ion-ams-report

0 stars 1 forks source link

When user is created none authentication record is added #98

Closed vdias38 closed 5 years ago

vdias38 commented 6 years ago

The bug was observed on PROD for following account created this morning

ams_report_-_prod_ _database_ _firebase_console

Expected behaviour

Tell us what should happen

Actual behaviour

If you create a new user on dashboard, authentication record is not created, then user can't log in

Steps to reproduce

  1. create new user for existing editor
  2. try to log in with its account

Expected responses

danconte72 commented 5 years ago

There is a cloud function wrote to do this, but has not any execution log (Cf logs visible on console.firebase were from the past week only)

danconte72 commented 5 years ago
danconte72 commented 5 years ago

the errors found were

@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":13,"message":"Error setting up the execution environment for your function. Please try again after a few minutes.

some answers point for a deploy problem

danconte72 commented 5 years ago

The last changes on cf were did on Jan 10th, 2 months before last log

danconte72 commented 5 years ago

I've add logs to track cf call/execution and deployed on int env

danconte72 commented 5 years ago

to deploy only functions on firebase

$ firebase deploy --only functions