Your app key and app secret are crucial for RC. Keep them secure and never share both with third parties.
Refresh your app secret to prevent leaks when server admins or developers leave.
After refreshing, your old secret stays valid until you connect to your server with the new one.
Once the new secret takes effect, all previous tokens expire. Your client will get a TOKEN_INCORRECT error when connecting to RC. Handle this by requesting a new token from RC via your app server.
For more details, check out:
- Get token in the IM Server API docs