Internal
Chat

Resolves a gate session or registers an anonymous chat user

Changed on

Returns the existing user's identity and access token when a verified auth.gate session is present. Otherwise creates an anonymous chat user. A session whose user is missing or disabled is rejected without creating an anonymous user. The proposed display name is ignored for gate sessions.

post/chat/register

Request

  • Base URL
    http://localhost:8080/api
  • URL
    http://localhost:8080/api/chat/register
  • Auth
    none declared

Headers

X-Forwarded-Userstring

Request body

displayNamestring

Response

Chat user information (existing gate user or newly registered anonymous user)

idstring
accessTokenstring
displayNamestring

Changes