401 Unauthorized

108 views
Skip to first unread message

Vincenzo Scaccia

unread,
Oct 8, 2024, 2:27:49 PM10/8/24
to Firebase Google Group
HI,
I have a problem registering the topic using Rest calls.
Until some time ago, to be able to register to a topic it was enough for me to do batchAdd or batchRemove and the device automatically registered or canceled itself from receiving Topic messages.
Following the move to Oauth2, I am experiencing problems regarding registration to the topic.
In particular, I always receive the 401 error despite having correctly configured the OAuth2 generation, in fact for sending messages to the single device, authentication via OAUTH2 works correctly.
What am I doing wrong?

Joe Spiro

unread,
Oct 8, 2024, 5:23:22 PM10/8/24
to Firebase Google Group
Hello,

Please send this into Firebase support who can guide you through the debugging process. From the information you provided it seems you might be using the deprecated instance id API.
Reply all
Reply to author
Forward
0 new messages