Jump to content
MakeWebGames

petercyr-goinstant

Members
  • Posts

    1
  • Joined

  • Last visited

petercyr-goinstant's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey guys, This is good stuff! I'll try and answer as many of the questions right now but if you have any more, feel free to keep on posting here, tweet @goinstant, reach us directly or even through our docs. @Revolution-NOTL & @Dayo, as you linked above, you can set custom colors https://developers.goinstant.com/v1/widgets/guides/colors.html With regards to security and impersonation you can use JWTs to secure and enforce these things. Check out the JWT section on the colors page, https://developers.goinstant.com/v1/widgets/guides/colors.html#making-a-claim-in-the-jwt and I'd encourage you to checkout the section on Users and Authentication. https://developers.goinstant.com/v1/security_and_auth/guides/users_and_authentication.html#what-is-a-jwt? With user authentication and JWTs you could easily enforce usernames, avatars, colors, and more. We have a PHP Library to help you build your JWTs and authenticate your users which you can find here: https://developers.goinstant.com/v1/security_and_auth/libraries/php.html In PHP when you create the JWTs, you could set the color of admins to what ever you choose and prepend the display name with something to identify admins. This would now be part of the user and when the chat widget gets rendered, this information will automatically be in it without requiring more client side overrides.
×
×
  • Create New...