Hi, can someone send me an example how to code it if a player joins that the code checks if he is registered with XBox live or not?
I ve read the thread already but dont understand it thats the reason because I asked here again and asked to send code directly
The authentication data is sent as a JWT. The signature mechanism is explained here. The game uses ES384 for hashing. So hash the base64 header + "." + base64 body, decrypt the signature using a hardcoded key as explained here and check the signature of what you have with what the server sent with OpenSSL and you can check if the login is legitimate. If you need source code, checkout MiNET. I also have a proof of concept that works with PocketMine which I will eventually release.