<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Trying to reuse an auth cookie from Chromium with Electron]]></title><description><![CDATA[<p dir="auto">I have a scenario I’m trying to enable, and wondering if anyone here can help.</p>
<p dir="auto">I have a grafana chart from home assistant that has auth on it (and I’d like to keep auth on it if I can).  I am trying to bring it into magic mirror via iframe, and when I browse to the IP from a browser on another machine it looks and works great (that I’ve authenticated into due to cookies). On my magic mirror however, even if I launch the site in Chromium on a raspberry pi, I don’t see the content. I’m suspecting it’s a 401 in the iframe and I’m just not seeing it.</p>
<p dir="auto">What I’d like to do is either get electron to use the cookies that Chromium set, or to possibly switch to Chromium entirely for the ‘shell’.  Or any other solution where I can somehow get this to work.  Any ideas?  If someone wants more explanation I can break more things down, but I think if someone has tried to iframe an authenticated site this may make sense right off (I imagine if I tried say facebook or even this forum in an iframe I’d hit the similar issue)</p>
]]></description><link>https://forum.magicmirror.builders/topic/12357/trying-to-reuse-an-auth-cookie-from-chromium-with-electron</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 10:04:01 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12357.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Mar 2020 04:42:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trying to reuse an auth cookie from Chromium with Electron on Wed, 18 Mar 2020 14:53:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jfarro" aria-label="Profile: Jfarro">@<bdi>Jfarro</bdi></a> what mm version are u running? And how did u install?</p>
<p dir="auto">If the package.json says</p>
<pre><code>"start","./run-start.sh",
</code></pre>
<p dir="auto">Then add to config.js</p>
<pre><code>serverOnly:"local",
</code></pre>
<p dir="auto">After the address: line, and before modules: line<br />
This will start mm by using chromium browser instead of electron.</p>
]]></description><link>https://forum.magicmirror.builders/post/70737</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70737</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 18 Mar 2020 14:53:07 GMT</pubDate></item></channel></rss>