How to enable anonymous login
Getting a 400 response when trying to login anonymously?
- Open your game from the studio page and click the Settings link on the bottom left:
- Click API Features on the top menu:
- Scroll all the way to the bottom and disable the first option:
There shouldn't be a need to enable it specifically. Is there any error message returned?
It wouldn't let me create the anonymous user with a generated UUID when the checkbox was enabled
Sure, but what was the server response? Can you please inspect that?
Thanks!
Oh, this is weird. I have mine set like this:
- Did you perhaps hit the limit of free accounts?
- Did you perhaps set a policy that client's are otherwise restricted?
I did not set any policies, it was a new account and that was the only setting I changed. Definitely didn't hit the limit since there's <20 total.
Your screenshot is how it's supposed to be set, if you have the boxes checked account creation is disabled.
Yeah, that's why I am confused it won't let you. Perhaps ask on their discord? https://discord.gg/QMQPwnxm
Ah, I think I know where the mixup was. This was supposed to be a reminder to make a guide on how to enable the anonymous login (because it wasn't by default)
Ohh! lol, I thought you still had the issue :D
Glad you're telling me that's not on by default! Thank you!
Would you mind just adding it to the docs where you think it would be best and send a PR?