<?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[Redirection after login - stops]]></title><description><![CDATA[<p dir="auto">Hello o/<br />
Since the last update to 4.3.2 after the login at my.xxx.tld with 2FA enabled, Firefox sometimes redirects to a Page called "Cloudron [something] OAuth" with a domain scheme like this:</p>
<pre><code>my.xxx.tld/login_callback.html?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&amp;state=XXXXXXXXXXXX
</code></pre>
<p dir="auto">Then nothing happens. I also disabled the noscript plugin at all and stopped my pihole, to test if these were causing this - no.<br />
I was also able to replicate this in MS edge and chromium browser "Brave".</p>
<p dir="auto">Wish you all a nice weekend o7</p>
]]></description><link>https://forum.cloudron.io/topic/2005/redirection-after-login-stops</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:04:58 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/2005.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Nov 2019 07:30:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Redirection after login - stops on Tue, 26 Nov 2019 15:19:06 GMT]]></title><description><![CDATA[<p dir="auto">So i had a little time to further inspect this issue.<br />
I was able to reproduce this every time in following setup: Firefox 70.0.1 (64-Bit), Privacy setting "strict"</p>
<p dir="auto">Typing in the adressbar: my.xxx.tld forwards me to <a href="https://my.xxx.tld/api/v1/session/login?returnTo=https://my.xxx.tld/login_callback.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://my.xxx.tld/api/v1/session/login?returnTo=https://my.xxx.tld/login_callback.html</a></p>
<p dir="auto">Normal login-screen appears, i fill in my credentials and getting forwarded to <a href="https://my.xxx.tld/login_callback.html?token=%5BSTRING%5D&amp;state=%5BSTRING%5D" target="_blank" rel="noopener noreferrer nofollow ugc">https://my.xxx.tld/login_callback.html?token=[STRING]&amp;state=[STRING]</a><br />
This site then does nothing.<br />
This is the source-code:</p>
<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;title&gt; Cloudron OAuth Callback &lt;/title&gt;

    &lt;script&gt;

    'use strict';

    var search = decodeURIComponent(window.location.search).slice(1).split('&amp;').map(function (item) { return item.split('='); }).reduce(function (o, k) { o[k[0]] = k[1]; return o; }, {});

    if (!search.token) {
        console.error('No token found');
    } else if (!search.state || !window.localStorage.oauth2State || search.state !== window.localStorage.oauth2State ) {
        console.error('OAuth2 state error');
    } else {
        // the actual app picks up the access token from localStorage
        localStorage.token = search.token;

        // clear oauth2 state
        delete window.localStorage.oauth2State;

        var returnTo = window.localStorage.returnTo;
        delete window.localStorage.returnTo;

        if (returnTo) window.location.href = returnTo;
        else window.location.href = '/';
    }

    &lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<p dir="auto">As <a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a> said, yes; when i then just remove the "/login_callback.html?token=[STRING]&amp;state=[STRING]" in address-bar everything works fine.</p>
<p dir="auto">This is the Browserlog, if it helps:</p>
<pre><code>Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert.
Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert.
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheetUsingURIString]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 75"  data: no] 2 ExtensionCommon.jsm:75:12
    runSafeSyncWithoutClone resource://gre/modules/ExtensionCommon.jsm:75
    cleanup resource://gre/modules/ExtensionContent.jsm:402
    close resource://gre/modules/ExtensionContent.jsm:925
    destroyed resource://gre/modules/ExtensionContent.jsm:1010
    observe resource://gre/modules/ExtensionContent.jsm:1028
Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert.
Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert.
Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert.
[Exception... "Favicon at "https://my.xxx.tld/favicon.ico" failed to load: Not Found."  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 236"  data: no]
</code></pre>
]]></description><link>https://forum.cloudron.io/post/4949</link><guid isPermaLink="true">https://forum.cloudron.io/post/4949</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 26 Nov 2019 15:19:06 GMT</pubDate></item><item><title><![CDATA[Reply to Redirection after login - stops on Sat, 23 Nov 2019 20:43:25 GMT]]></title><description><![CDATA[<p dir="auto">Are you using firefox by chance? I have this same issue (removing the login_calback blah blah stuff continues the login) in chrome I do not have this problem - Clearing browser cache does not help either (tested on multiple machines)</p>
]]></description><link>https://forum.cloudron.io/post/4933</link><guid isPermaLink="true">https://forum.cloudron.io/post/4933</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Sat, 23 Nov 2019 20:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Redirection after login - stops on Sat, 23 Nov 2019 09:14:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a><br />
As soon as it is possible for me save that log i will post it here.</p>
]]></description><link>https://forum.cloudron.io/post/4932</link><guid isPermaLink="true">https://forum.cloudron.io/post/4932</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 23 Nov 2019 09:14:34 GMT</pubDate></item><item><title><![CDATA[Reply to Redirection after login - stops on Fri, 22 Nov 2019 09:32:10 GMT]]></title><description><![CDATA[<p dir="auto">Can you possibly get a persistent log of the browser requests from the browser inspector tools, so we can follow that flow?</p>
]]></description><link>https://forum.cloudron.io/post/4927</link><guid isPermaLink="true">https://forum.cloudron.io/post/4927</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 22 Nov 2019 09:32:10 GMT</pubDate></item></channel></rss>