Hello everyone! We have two exciting updates for this release - Authentication 3.1.0!
Unity Player Accounts General Availability
We are thrilled to announce that Unity Player Accounts is entering GA.
Unity Player Accounts is Unity’s comprehensive sign-in solution that supports persistence across platforms and devices. It’s an end-to-end account system that includes a user flow UX, email and password, social sign-in options, data access and deletion flows.
As a developer, you can consider Unity Player Accounts as another identity provider that Unity Authentication supports. Once added to your application, your players will be able to sign in using Unity Player Accounts.
For developers already using Unity Player Accounts, you no longer need a separate SDK, you can now just use Authentication 3.1.0!
Documentation
Please refer to our documentation for more information.
Custom ID Sign In
We are now expanding our Bring Your Own Identity Support with Custom ID Sign In!
With Custom ID, you can integrate any custom identity solution with UGS by passing your custom player id along with a service account token.
Overall Flow
Demo
-
- For our editor demo, we built a server running in an editor window listening to localhost which will simulate our game backend. It is setup with a service account to be able to do the authentication operation.
-
First, we manually sign in on the server and copy the access and session tokens to show that we can simply process tokens using the new authentication SDK.
-
We are now authenticated, we can see we have the same results between our game and server operations. Now let’s try the full flow. We will first sign out and clear our credentials.
-
For the end to end flow, we call our custom backend from the client, passing in a custom id. The custom id would likely be known to the backend in a real scenario. The backend performs the authentication and returns the tokens, which we process seamlessly. We can see, once again, that we have the same results on both ends.
Documentation
Please refer to our documentation(API | SDK) for more information.
Cross-Platform Support
To learn more about Cross-Platform Support, have a look at this post !