firebase / firebase-admin-dotnet

Firebase Admin .NET SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
356 stars 128 forks source link

Calls to SubscribeToTopic always return a 401 #380

Closed balloman closed 4 months ago

balloman commented 4 months ago

[READ] Step 1: Are you in the right place?

[REQUIRED] Step 2: Describe your environment

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Attempt to call SubscribeToTokenAsync from within an authenticated application. Service returns a 401. All other firebase calls work.

Relevant Code:

FirebaseMessaging.DefaultInstance.SubscribeToTopicAsync(new [] { token }, "testtopic")