DominicMaas / TimelineExtension

Windows Timeline & Project Rome Web Extension
MIT License
482 stars 27 forks source link

Can't login on Firefox #108

Open maicol07 opened 3 years ago

maicol07 commented 3 years ago

I can't sign in from the Firefox addon. After login the addon doesn't update...

IndefiniteBen commented 3 years ago

I have the same issue. Additionally my existing login was broken and no longer updating items in timeline, so I logged out and then found I couldn't log back in.

A window opens for me to choose an account, I do so ~ and then a white page with some texts flashes on screen and then the tab closes before I can read it~.

Edit: got a screenshot. The screen after choosing an account just says

Signing in

This window should close automatically

with the address: https://timeline.dominicmaas.co.nz/auth-callback/index.html?code=<code>

DominicMaas commented 3 years ago

hmm. The login should still be working... although I may have broken it when transfering my domain DNS properties the other month. I'll have to check. Do you see any errors in the console?

IndefiniteBen commented 3 years ago

I have some errors... Not sure if everything is related, but here's what I get.

  1. When I make a page active (by selecting tab etc.) I get this:

    Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:3129 send moz-extension://9604c6a1-1f33-4280-8c36-1910ef6b79ee/background.js:3129

  2. Clicking the extension then clicking "Sign in with Windows account" I get a few more of the above error, then:

    DataCloneError: The object could not be cloned. 3 ExtensionChild.jsm:813

    sendRemoveListener on closed conduit snaplinks@snaplinks.mozdev.org.962072681576 ConduitsChild.jsm:108

  3. When I choose the Microsoft account to use on the account picker page I get the following:

       GET https://timeline.dominicmaas.co.nz/favicon.ico
    [HTTP/3 404 Not Found 38ms]
    
    GET
        https://timeline.dominicmaas.co.nz/favicon.ico
    Status404
    Not Found
    VersionHTTP/3
    Transferred1.14 kB (0 B size)
    Referrer Policystrict-origin-when-cross-origin
    
        access-control-allow-origin
            *
        alt-svc
            h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
        cache-control
            max-age=14400
        cf-cache-status
            EXPIRED
        cf-ray
            66a036e378290b67-AMS
        content-encoding
            br
        content-security-policy
            default-src 'none'; style-src 'unsafe-inline'; img-src data:; connect-src 'self'
        content-type
            text/html; charset=utf-8
        date
            Mon, 05 Jul 2021 11:22:14 GMT
        expect-ct
            max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
        nel
            {"report_to":"cf-nel","max_age":604800}
        report-to
            {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v2?s=mQcKqp2wtWlfMTsFZiQxknF8iTE4i1mANcdUMEYdCJGERvZvZ%2B3BeBEUTFaadpR0it4%2FJ1KNhASsr3TGpU4IdrTJbrRfTKa0Jil4f3H8Cd0hBYJAnr8NydHj60%2F14ys4I5u3l%2BwKx1I%3D"}],"group":"cf-nel","max_age":604800}
        server
            cloudflare
        vary
            Accept-Encoding
        via
            1.1 varnish
        x-cache
            HIT
        x-cache-hits
            1
        x-fastly-request-id
            e2212c7ccaf69413b4ff95e13eb16c3614a90359
        x-github-request-id
            40E2:9DEE:19CFB45:1AA767D:60E2E8E1
        x-proxy-cache
            MISS
        x-served-by
            cache-ams21044-AMS
        x-timer
            S1625484135.972976,VS0,VE1
    
        Accept
            image/webp,*/*
        Accept-Encoding
            gzip, deflate, br
        Accept-Language
            en-GB,en;q=0.5
        Alt-Used
            timeline.dominicmaas.co.nz
        Connection
            keep-alive
        Host
            timeline.dominicmaas.co.nz
        Referer
            https://timeline.dominicmaas.co.nz/auth-callback/index.html?code=M.R3_BAY.371b8446-83e6-b99a-3fd7-59a645545996
        TE
            Trailers
        User-Agent
            Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

    then lastError and sendRemoveListener errors again and a 500 error:

    XHRPOST https://ge-functions.azurewebsites.net/api/get-token
    [HTTP/2 500 Internal Server Error 737ms]
    
    POST
        https://ge-functions.azurewebsites.net/api/get-token
    Status500
    Internal Server Error
    VersionHTTP/2
    Transferred2.42 kB (2.28 kB size)
    Referrer Policystrict-origin-when-cross-origin
    
        content-length
            2335
        content-type
            text/html
        date
            Mon, 05 Jul 2021 11:22:14 GMT
        X-Firefox-Spdy
            h2
    
        Accept
            */*
        Accept-Encoding
            gzip, deflate, br
        Accept-Language
            en-GB,en;q=0.5
        Connection
            keep-alive
        Content-Length
            272
        Content-Type
            text/plain;charset=UTF-8
        Host
            ge-functions.azurewebsites.net
        Origin
            moz-extension://be66f621-3f9c-4e88-b29b-c7950bcaab68
        User-Agent
            Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0