heroiclabs / nakama-cpp

Generic C/C++ client for Nakama server.
https://heroiclabs.com/docs/cpp-client-guide
Apache License 2.0
69 stars 25 forks source link

Add Sign In With Apple method #35

Closed raz0r007 closed 3 years ago

raz0r007 commented 3 years ago

In nakama-cpp library, these are the methods that we can use in order to authenticate a player to Nakama Server:

virtual void authenticateDevice(.....)
virtual void authenticateEmail(.....)
virtual void authenticateFacebook(.....)
virtual void authenticateGoogle(.....)
virtual void authenticateGameCenter(.....)
virtual void authenticateCustom(.....)
virtual void authenticateSteam(.....)

These methods works perfect, but we CAN'T authenticate through Apple. If we use a third-party login service, Apple is forcing developers to implement Sign in with Apple (GameCenter is not enough).

Nakama Server is already supporting it: https://github.com/heroiclabs/nakama/releases/v2.13.0 But we need to add this feature to nakama-cpp library.

Topic related: https://forum.heroiclabs.com/t/sign-in-with-apple/1057

Thanks

Dimon4eg commented 3 years ago

It's already added to nakama-cpp but not released yet.

raz0r007 commented 3 years ago

Thanks @Dimon4eg Do you have any estimated date to release it? This is very important. It's a blocker, because Apple doesn't want to approve the binary. It means that we can't neither publish our app nor test using TestFlight.

@novabyte mention that it's "easy" to implement. I'd like to inspect the PR if you create it, in order to learn how to contribute in this things.

Thanks

Dimon4eg commented 3 years ago

I will release 1-2 November

Dimon4eg commented 3 years ago

Released version 2.4.0