-
I set up remark42 and tried to login via Google, Facebook, Github and Twitter, but failed all. OS: Debian
<div id="remark42"></div>
<script type="text/javascript">
var remark_config = {
host: "https://logosnaut.com",
site_id: 'mzch',
components: ['embed'],
};
(function(c) {
for(var i = 0; i < c.length; i++){
var d = document, s = d.createElement('script');
s.src = remark_config.host + '/web/' +c[i] +'.js';
s.defer = true;
(d.head \|\| d.body).appendChild(s);
}
})(remark_config.components \|\| ['embed']);
</script>
<noscript>Please enable JavaScript to view the comments powered by <a href="https://remark42.com/">Remark42</a>. </noscript>
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
have you tried with embedded cache? I don't know if your 192.168.207.10:6379 available. Pls try to disable CACHE_TYPE and see if it helps. The second strange thing is Also, could you clarify how exactly the social login failed. The screenshot doesn't provide much info. Is it redirect to auth provider, letting you log in and redirect back? What exactly happening? @akellbl4 is it possible smth on your side? i.e. some side-effect of dfed7e1 ? |
Beta Was this translation helpful? Give feedback.
-
another thing to clarify - are you running with compose? if so can you pls show it. if not - your REMARK_PORT is likely wrong as I see it running on :80, not on :8080 |
Beta Was this translation helpful? Give feedback.
-
This is not connected to the problem but I suggest updating the script for connecting remark to: <div id="remark42"></div>
<script>
var remark_config = {
host: "https://logosnaut.com",
site_id: 'mzch',
};
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
<noscript>Please enable JavaScript to view the comments powered by <a href="https://remark42.com/">Remark42</a>.</noscript> We created smaller js bundles for modern browsers and the new script connects it. |
Beta Was this translation helpful? Give feedback.
-
I think the issue here is CORS-related. i.e. remark42 runs on a different domain and can't set cookies on the primary site for some reason. Maybe your apache config sets some cors headers? if so, you should turn internal remark's CORS headers off. |
Beta Was this translation helpful? Give feedback.
another thing to clarify - are you running with compose? if so can you pls show it. if not - your REMARK_PORT is likely wrong as I see it running on :80, not on :8080