firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

adding optional param to token verifier

Open pragatimodi opened this issue 1 year ago • 0 comments

Using payload's event_type variable From manual testing, payload looks like:

{
  "iss": "",
  "aud": "",
  "iat": "",
  "exp": "",
  "event_id": "",
  "event_type": "beforeCreate",
  "user_agent": "",
  "ip_address": "",
  "locale": "",
  "sign_in_method": "",
  "sub": "",
  "user_record": {
    "uid": "NzZjFR0TDsWwxYUuPvkfUfWkZx73",
    "email": "[email protected]",
    "email_verified": false,
    "provider_data": [
      {
        "provider_id": "",
        "email": "[email protected]",
        "uid": "[email protected]"
      }
    ],
    "metadata": {
      "last_sign_in_time": "",
      "creation_time": ""
    }
  }
}

pragatimodi avatar Nov 14 '23 18:11 pragatimodi