Sign In Register

How can we help you today?

Start a new topic
Answered

Anonymous authentication from browser app

What's the recommended approach for per-session authentication in a browser app? There's DeviceAuthenticationRequest for mobile platforms but this app is for pc/mac browsers through Unity3d web player. I'd want to make some features available to users without signup that I've implemented through events in cloud code, and calling events requires authentication.


One solution is to generate a random username to be used only once, or have one particular account used for all anonymous logins. Is there a better solution?


Best Answer

The unity SDK uses SystemInfo.deviceUniqueIdentifier for DeviceAuthenticationRequest and this works with the Unity WebPlayer.


This will create an account for each webplayer user

1 Comment

Answer

The unity SDK uses SystemInfo.deviceUniqueIdentifier for DeviceAuthenticationRequest and this works with the Unity WebPlayer.


This will create an account for each webplayer user

Login to post a comment