Basic Security is pre-enabled for most accounts automatically. If it is not enabled, please follow the steps below.
First, check if
chat_auth is present in your CometChat HTML code.
Visit the CometChat Admin Panel -> API Keys (top-right button) and copy the Auth Key
Add the following to your HTML code:
<script> var chat_auth = "YOUR_AUTH_KEY"; </script>
Then, enable the security setting from Admin Panel -> Settings -> Authentication -> Security -> "Auth Key Verification" -> "Yes".
(i.e. you are using CometChat ONLY in Android/iOS/Cordova/Ionic/Xamarin/Xamarin Forms apps)
Simply enable the security setting "Enable Auth Key Verification?" from Admin Panel -> Settings -> Authentication -> Security.
Updated 2 months ago