Custom authentication: Optional Auth OK message not sent?

Options
OliverEberlei
edited March 2014 in DotNet
Hi everyone,

I'm playing around with custom authentication and I got everything working. However, the GIT Readme states that each ResultCode can have an additional message like so:
{ ResultCode: 1, Message: "optional Auth OK message" }

This works with ResultCode 2 and 3, but I can't get the Message for a successful auth. I would like to use it to send a state of the player back to the client without having to send an additional HTTP request. Is there a way to do this?

The DebugMessage parameter of the operationResponse is just empty when a successful auth is received.

Comments

  • Tobias
    Options
    It might be true that we drop the message when you auth successfully. The idea to provide some kind of data is good however, so we will look into this.
    Is this an urgent issue or can you work around it for the time being?
  • No worries, I just send a second WWW request. It's just a tiny bit messier, nothing to think twice about.