0

Image

I/flutter (16043): {
I/flutter (16043):   "error": {
I/flutter (16043):     "code": 401,
I/flutter (16043):     "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
I/flutter (16043):     "status": "UNAUTHENTICATED",
I/flutter (16043):     "details": [
I/flutter (16043):       {
I/flutter (16043):         "@type": "type.googleapis.com/google.rpc.ErrorInfo",
I/flutter (16043):         "reason": "CREDENTIALS_MISSING",
I/flutter (16043):         "domain": "googleapis.com",
I/flutter (16043):         "metadata": {
I/flutter (16043):           "method": "google.firebase.fcm.v1.FcmService.SendMessage",
I/flutter (16043):           "service": "fcm.googleapis.com"
I/flutter (16043):         }
I/flutter (16043):       }
I/flutter (16043):     ]
I/flutter (16043):   }
I/flutter (16043): }

How to implement OAuth 2 for request the new API of Firebase messaging in my android app?

1
  • Don't post something that you did not tried yet. There is enough documentation available on flutter to implement OAuth .Be specific and what you tried so far ,I guess then people will help you.
    – Saddan
    2 hours ago

Browse other questions tagged or ask your own question.