I would like to use Firebase Auth as the Authorization service for AWS AppSync.
In the AppSync settings, I tried to add Firebase Auth as an OpenID Connect provider, but it seems like I'm doing something wrong since I'm getting this error while trying to make a request with a Firebase Auth tokenId:
{
  "errors": [
    {
      "errorType": "UnauthorizedException",
      "message": "Missing authorization header"
    }
  ]
}
In AppSync im using these settings:
https://securetoken.google.com/<Firebase Project ID>
<Firebase Api Key>
0
0
When performing the query I use the TokenId provided by firebase, and not the ones that come from the federated identity provider(Facebook or Google for example).
Apparently, I didn't need to specify the Client ID in the settings. Works fine without it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With