{"id":16407,"date":"2024-08-04T14:38:25","date_gmt":"2024-08-04T14:38:25","guid":{"rendered":"https:\/\/rumbletalk.com\/blog\/?post_type=epkb_post_type_1&#038;p=16407"},"modified":"2026-03-03T13:11:49","modified_gmt":"2026-03-03T13:11:49","slug":"chat-room-sso","status":"publish","type":"epkb_post_type_1","link":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/","title":{"rendered":"Chat Room SSO"},"content":{"rendered":"\n<p>Chat Room SSO (single-sign-on) is an option that allows users to seamlessly log into a chat room using their existing user credentials from another system. <\/p>\n\n\n\n<p>For example, if you already have users in your <strong>database or other CMS<\/strong> (for example: WordPress) and you wish to allow them to automatically log in to the chat room without the need to re-enter their user name (or password), then chat room SSO integration is what you need.<br><br>This integration simplifies the user experience by removing the need for separate login credentials for the chat room. Integration takes 2 minutes and is pretty easy, see here <a href=\"https:\/\/rumbletalk.com\/support\/API_Auto_Login\/\">Chat Room SSO<\/a> login SDK, only authenticated users from a predefined user base can access the chat.<\/p>\n\n\n\n<p>Steps to enable it:<br><br>1 &#8211; In your RumbleTalk admin panel, check the  &#8220;User authentication required&#8221; (using your user base) &#8211; this will remove the login interface from the chat and only users authenticated by you will be able to log into the chat room.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20210810083317\/memberlogin.png\"><img decoding=\"async\" loading=\"lazy\" width=\"650\" height=\"665\" src=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20210810083317\/memberlogin.png\" alt=\"communities\" class=\"wp-image-10940\" srcset=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20210810083317\/memberlogin.png 650w, https:\/\/d241b8qep9dzid.cloudfront.net\/20210810083317\/memberlogin-293x300.png 293w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/figure><\/div>\n\n\n<p>2 &#8211; Add script to your &nbsp;&lt;head&gt; section (make sure the version is the latest)<\/p>\n\n\n\n<p><strong><em>&lt;script&gt;<br>  &#8230;..code from section 3 in the <a href=\"https:\/\/rumbletalk.com\/support\/API_Auto_Login\/\">Chat Room SSO<\/a> login SDK page.<br>&lt;\/script&gt;<\/em><\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>3 &#8211; Now you will need to add the information of your users that will be logged-in. Note, the first 2 are fields are needed, the chat unique ID (hash) and a user name.<\/p>\n\n\n\n<ul>\n<li><strong>YOUR_CHAT_HASH<\/strong> &#8211; 8 characters code, representing your chat.<\/li>\n\n\n\n<li><strong>USERNAME<\/strong> &#8211; The username of the user. This field should be changed based on the authenticated <br><br>Optional:<\/li>\n<\/ul>\n\n\n\n<ul>\n<li><strong>PASSWORD<\/strong> &#8211; [optional] The predefined password. <\/li>\n\n\n\n<li><strong>IMAGE<\/strong> &#8211; [optional] An image URL to be used as the user avatar<\/li>\n\n\n\n<li><strong>FORCE_LOGIN<\/strong> &#8211; [optional] When set to true, will first log out the currently logged-in user, and then execute the login command. This only affects the user of the browser that executed the command.<\/li>\n\n\n\n<li><strong>CALLBACK_FUNCTION<\/strong> &#8211; [optional] a callback function that will be called (with the result as the first parameter) when the login process is done.<\/li>\n<\/ul>\n\n\n\n<p><strong><em>&lt;script&gt;<br>rtmq(<br>&#8216;login&#8217;,<br>{<br>hash: &#8216;YOUR_CHAT_HASH&#8217;,<br>username: &#8216;USERNAME&#8217;,<br>password: &#8216;PASSWORD&#8217;, \/\/ [optional]<br>image: &#8216;IMAGE&#8217;, \/\/ [optional]<br>forceLogin: &#8216;FORCE_LOGIN&#8217;, \/\/ [optional]<br>callback: &#8216;CALLBACK_FUNCTION&#8217; \/\/ [optional]<br>}<br>);<br>&lt;\/script&gt;<\/em><\/strong><\/p>\n\n\n\n<div class=\"tip-box\">\n<div class=\"header\">\n<img\nsrc=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20240808012422\/tip-icon.jpg\"\nalt=\"TIP\"\n\/>\n<span>TIP<\/span>\n<\/div>\n<div class=\"content\">\n<p>\nThe most common reason why the automatic login is not working, is that the &#8220;Allow guest logins&#8221; option is disabled for the chat room you are setting up. Note, this does not mean guests will be able to log in.\n<\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>The implementation involves embedding specific JavaScript code on the website hosting the chat. This code handles the automatic login process by passing necessary user details, such as username and optionally an avatar, to the chat platform. The integration can also include additional features like auto-logout and private chat initiation, providing a comprehensive and customized chat experience.<\/p>\n\n\n\n<p>For developers, further customization and control can be achieved through RESTful APIs, allowing for more complex integrations and user management.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chat Room SSO &#8211; online chat room for websites<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"epkb_post_type_1_category":[339],"epkb_post_type_1_tag":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events\" \/>\n<meta property=\"og:description\" content=\"Chat Room SSO - online chat room for websites\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/\" \/>\n<meta property=\"og:site_name\" content=\"Online Group Chat Room Plugin for Websites and Live events\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rumbletalk\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-03T13:11:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rumbletalk.com\/blog\/wp-content\/uploads\/2021\/08\/memberlogin.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@rumbletalk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/\",\"url\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/\",\"name\":\"Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events\",\"isPartOf\":{\"@id\":\"https:\/\/rumbletalk.com\/blog\/#website\"},\"datePublished\":\"2024-08-04T14:38:25+00:00\",\"dateModified\":\"2026-03-03T13:11:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rumbletalk.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat Room SSO\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#website\",\"url\":\"https:\/\/rumbletalk.com\/blog\/\",\"name\":\"Online Group Chat Plugin for Websites and Event\",\"description\":\"Embed a social group chat for communities and events. Grow your online audience with the next evolution of HTML chat room. Attach files, Mobile, Audio and Video calls.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rumbletalk.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/7cbf75bffd89b4eceebd4112feebabec\",\"name\":\"Paul Atc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b27cb1f21d359ae227407baaa223761c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b27cb1f21d359ae227407baaa223761c?s=96&d=mm&r=g\",\"caption\":\"Paul Atc\"},\"url\":\"https:\/\/rumbletalk.com\/blog\/index.php\/author\/paul-atc\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/","og_locale":"en_US","og_type":"article","og_title":"Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events","og_description":"Chat Room SSO - online chat room for websites","og_url":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/","og_site_name":"Online Group Chat Room Plugin for Websites and Live events","article_publisher":"https:\/\/www.facebook.com\/rumbletalk","article_modified_time":"2026-03-03T13:11:49+00:00","og_image":[{"url":"https:\/\/rumbletalk.com\/blog\/wp-content\/uploads\/2021\/08\/memberlogin.png"}],"twitter_card":"summary_large_image","twitter_site":"@rumbletalk","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/","url":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/","name":"Chat Room SSO - Online Group Chat Room Plugin for Websites and Live events","isPartOf":{"@id":"https:\/\/rumbletalk.com\/blog\/#website"},"datePublished":"2024-08-04T14:38:25+00:00","dateModified":"2026-03-03T13:11:49+00:00","breadcrumb":{"@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/chat-room-sso\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rumbletalk.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Chat Room SSO"}]},{"@type":"WebSite","@id":"https:\/\/rumbletalk.com\/blog\/#website","url":"https:\/\/rumbletalk.com\/blog\/","name":"Online Group Chat Plugin for Websites and Event","description":"Embed a social group chat for communities and events. Grow your online audience with the next evolution of HTML chat room. Attach files, Mobile, Audio and Video calls.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rumbletalk.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/7cbf75bffd89b4eceebd4112feebabec","name":"Paul Atc","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b27cb1f21d359ae227407baaa223761c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b27cb1f21d359ae227407baaa223761c?s=96&d=mm&r=g","caption":"Paul Atc"},"url":"https:\/\/rumbletalk.com\/blog\/index.php\/author\/paul-atc\/"}]}},"_links":{"self":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/16407"}],"collection":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=16407"}],"version-history":[{"count":15,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/16407\/revisions"}],"predecessor-version":[{"id":17060,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/16407\/revisions\/17060"}],"wp:attachment":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=16407"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=16407"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=16407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}