Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Cloud Messaging no longer has a server key implementation #93522

Closed
alucard835 opened this issue May 26, 2022 · 7 comments
Closed

Firebase Cloud Messaging no longer has a server key implementation #93522

alucard835 opened this issue May 26, 2022 · 7 comments

Comments

@alucard835
Copy link

The API Key section in this tutorial is no longer applicable to Firebase Cloud Messaging. Google has changed how their Cloud Messaging services is consumed, and it's no longer a single server API key. It's unclear where an API Key should be generated in Firebase in order to link to Notifications Hubs now.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@Grace-MacJones-MSFT
Copy link
Contributor

thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update as appropriate

@angularsen
Copy link

angularsen commented Jun 21, 2023

Update:
Cross-posted to #93552 (comment)

@Grace-MacJones-MSFT
Firebase just announced FCM server key authentication will stop working June 21, 2024.
I assume this will require Notification Hubs to support oauth2 to generate short-lived access tokens instead.

I don't know where to report this to the Notification Hubs team, but please forward this to the relevant team and post back a link to an issue or somewhere we can monitor progress on this feature as many will need to re-configure their Notification Hubs in the next year.

https://firebase.google.com/support/faq#fcm-23-deprecation

I believe this is the relevant change:

Device management API https://fcm.googleapis.com/fcm/notification The endpoint will continue to work but it won’t support authentication using static server keys after 6/21/2024. Use an OAuth 2.0 access token derived from a service account.

This is how the same change was described in the email notification:

Discontinued Feature Decommissioned service New alternative
Server keys Authenticating requests with server keys. Authenticate requests with access tokens generated from authorized service accounts

@nicop85
Copy link

nicop85 commented Dec 5, 2023

Are there any news about this deadline @angularsen pointed out? Someone should start looking for a solution to this problem

@nampham30698
Copy link

Any update on this?

@SylberG
Copy link

SylberG commented Jan 12, 2024

Are there any news about this deadline @angularsen pointed out? Someone should start looking for a solution to this problem

Any update on this?

I think this may answer your question: https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-gcm-to-fcm#current-state

@angularsen
Copy link

So basically there is a time window from March 1 until June 30 to complete a rather significant migration, to change client devices to register with FCM instead of legacy, remove the legacy registrations to avoid duplicates and then update the server to use FCM API.

That's not a whole lot of time for absolutely everyone to jump when they say so, but at least there is a heads up now to prepare some of the migration steps.

@sethmanheim
Copy link
Contributor

Please see the updated GCM to FCM migration steps: https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-gcm-to-fcm.

As we are moving to a new feedback system, please reopen this issue or contact Microsoft Support if you still want to provide feedback on the documentation. Thank you! #please-close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants