{"id":16,"date":"2022-05-26T11:06:33","date_gmt":"2022-05-26T11:06:33","guid":{"rendered":"http:\/\/getreplybox.com\/?post_type=cpt_doc&#038;p=16"},"modified":"2022-12-22T19:37:26","modified_gmt":"2022-12-22T19:37:26","slug":"wordpress-sign-in","status":"publish","type":"cpt_doc","link":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/","title":{"rendered":"WordPress Sign-In"},"content":{"rendered":"\n    <section class=\"block-text\">\n        <div class=\"container\">\n            <div class=\"row\">\n                <div class=\"columns small-centered small-12 medium-11 large-10 xlarge-8\">\n                    <div class=\"block-text__text\">\n                        \n\n<p>If using our <a href=\"\/docs\/getting-started-wordpress-plugin\">WordPress plugin<\/a>, you can enable <a href=\"\/docs\/single-sign-on\">single sign-on (SSO)<\/a> so that users can comment on posts or pages using their existing WordPress account.<\/p>\n\n\n\n<p><strong>A few caveats:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Anonymous comments are not currently supported. Only authenticated WordPress users will be allowed to comment<\/li><li>You should configure any caching plugins not to cache logged-in users or cache on a per-user basis<\/li><li>If a user already has a ReplyBox account and is signed in, their ReplyBox account will take precedence over their WordPress account<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Single Sign-On<\/h2>\n\n\n\n<p>Head over to the site&#8217;s setting screen and navigate to the <strong>Embed<\/strong> tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"444\" src=\"http:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-1024x444.png\" alt=\"\" class=\"wp-image-44\" srcset=\"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-1024x444.png 1024w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-300x130.png 300w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-768x333.png 768w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-1536x665.png 1536w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-2048x887.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Toggle on the <strong>Single Sign-On<\/strong> option to generate a unique secret key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"338\" src=\"http:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key-1024x338.png\" alt=\"\" class=\"wp-image-45\" srcset=\"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key-1024x338.png 1024w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key-300x99.png 300w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key-768x254.png 768w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key-1536x508.png 1536w, https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-secret-key.png 1834w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Update wp-config.php File<\/h2>\n\n\n\n<p>Add the REPLYBOX_SSO_KEY constant to your site&#8217;s <a href=\"https:\/\/wordpress.org\/support\/article\/editing-wp-config-php\/\">wp-config.php file<\/a>, using the <strong>Secret Key<\/strong> generated by ReplyBox as the value.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'REPLYBOX_SSO_KEY', 'f05d0a...' );<\/code><\/pre>\n\n\n\n<p>You can optionally provide a login URL, which will display a sign-in button for guest users.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'REPLYBOX_SSO_LOGIN_URL', 'https:\/\/example.com\/login' );<\/code><\/pre>\n\n\n\n<p><strong>Important!<\/strong> Never share your SSO secret key. It should remain hidden at all times.<\/p>\n\n\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/section>","protected":false},"excerpt":{"rendered":"<p>Use your existing WordPress accounts to post to Replybox, here is how to set this up.<\/p>\n","protected":false},"template":"","class_list":["post-16","cpt_doc","type-cpt_doc","status-publish","hentry","tax_doc-type-features","tax_doc-type-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WordPress Sign-In | ReplyBox<\/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:\/\/getreplybox.com\/docs\/wordpress-sign-in\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress Sign-In | ReplyBox\" \/>\n<meta property=\"og:description\" content=\"Use your existing WordPress accounts to post to Replybox, here is how to set this up.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/\" \/>\n<meta property=\"og:site_name\" content=\"ReplyBox\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-22T19:37:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-1024x444.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@getreplybox\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/\",\"url\":\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/\",\"name\":\"WordPress Sign-In | ReplyBox\",\"isPartOf\":{\"@id\":\"http:\/\/getreplybox.com\/#website\"},\"datePublished\":\"2022-05-26T11:06:33+00:00\",\"dateModified\":\"2022-12-22T19:37:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/getreplybox.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"http:\/\/getreplybox.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WordPress Sign-In\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/getreplybox.com\/#website\",\"url\":\"http:\/\/getreplybox.com\/\",\"name\":\"ReplyBox\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/getreplybox.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/getreplybox.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/getreplybox.com\/#organization\",\"name\":\"ReplyBox\",\"url\":\"http:\/\/getreplybox.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/getreplybox.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/twitter-profile-480x480-1.png\",\"contentUrl\":\"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/twitter-profile-480x480-1.png\",\"width\":480,\"height\":480,\"caption\":\"ReplyBox\"},\"image\":{\"@id\":\"http:\/\/getreplybox.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/getreplybox\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress Sign-In | ReplyBox","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:\/\/getreplybox.com\/docs\/wordpress-sign-in\/","og_locale":"en_US","og_type":"article","og_title":"WordPress Sign-In | ReplyBox","og_description":"Use your existing WordPress accounts to post to Replybox, here is how to set this up.","og_url":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/","og_site_name":"ReplyBox","article_modified_time":"2022-12-22T19:37:26+00:00","og_image":[{"url":"http:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/sso-embed-tab-1024x444.png"}],"twitter_card":"summary_large_image","twitter_site":"@getreplybox","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/","url":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/","name":"WordPress Sign-In | ReplyBox","isPartOf":{"@id":"http:\/\/getreplybox.com\/#website"},"datePublished":"2022-05-26T11:06:33+00:00","dateModified":"2022-12-22T19:37:26+00:00","breadcrumb":{"@id":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/getreplybox.com\/docs\/wordpress-sign-in\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/getreplybox.com\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"http:\/\/getreplybox.com\/docs\/"},{"@type":"ListItem","position":3,"name":"WordPress Sign-In"}]},{"@type":"WebSite","@id":"http:\/\/getreplybox.com\/#website","url":"http:\/\/getreplybox.com\/","name":"ReplyBox","description":"","publisher":{"@id":"http:\/\/getreplybox.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/getreplybox.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/getreplybox.com\/#organization","name":"ReplyBox","url":"http:\/\/getreplybox.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/getreplybox.com\/#\/schema\/logo\/image\/","url":"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/twitter-profile-480x480-1.png","contentUrl":"https:\/\/getreplybox.com\/wp-content\/uploads\/2022\/05\/twitter-profile-480x480-1.png","width":480,"height":480,"caption":"ReplyBox"},"image":{"@id":"http:\/\/getreplybox.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/getreplybox"]}]}},"_links":{"self":[{"href":"https:\/\/getreplybox.com\/wp-json\/wp\/v2\/cpt_doc\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getreplybox.com\/wp-json\/wp\/v2\/cpt_doc"}],"about":[{"href":"https:\/\/getreplybox.com\/wp-json\/wp\/v2\/types\/cpt_doc"}],"wp:attachment":[{"href":"https:\/\/getreplybox.com\/wp-json\/wp\/v2\/media?parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}