Skip to content

Can't login to editor.p5js.org #1910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dybber opened this issue Jul 30, 2021 · 4 comments · Fixed by #1935
Closed

Can't login to editor.p5js.org #1910

dybber opened this issue Jul 30, 2021 · 4 comments · Fixed by #1935

Comments

@dybber
Copy link

dybber commented Jul 30, 2021

Nature of issue?

Found a bug

Details about the bug:

  • Web browser and version: Firefox 89.0 and Safari 13.0.1
  • Operating System: Mac OS X 10.14.6
  • Steps to reproduce this bug:

When typing in my username and password and pressing "Log In" on https://editor.p5js.org/login, I'm not redirected to a new page. Instead the "Log In" button is disabled, so I can't push it a second time, and nothing else happens.

I have included logs from JS console below together with a screenshot.

Steps:

  • Open either Firefox (v. 89.0) or Safari (13.0.1)
  • Open https://editor.p5js.org/login
  • Enter your username and password
  • Click with the mouse on "Log In"

Screenshot 2021-07-29 at 14 13 58

XHRGEThttps://editor.p5js.org/editor/session
[HTTP/3 404 Not Found 302ms]

	
GET
	https://editor.p5js.org/editor/session
Status404
Not Found
VersionHTTP/3
Transferred882 B (36 B size)
Referrer Policystrict-origin-when-cross-origin

    	
    access-control-allow-credentials
    	true
    alt-svc
    	h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
    cf-cache-status
    	DYNAMIC
    cf-ray
    	67663f2e0959735f-CPH
    content-length
    	36
    content-type
    	application/json; charset=utf-8
    date
    	Thu, 29 Jul 2021 12:10:55 GMT
    etag
    	W/"24-wRuFiqDiWqJZxk2aPimqOrIMcUA"
    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\/v3?s=WZEN6%2BOn9MiL9TtxnJENWnjewWDWdpXw3Lthf3sd6NwaADkMZL3XgKlrGc6BwH6ZtbYECqmsvba%2BZ%2FRPGtQjb1fHG3eZ2ADKeGAY1ObfzBMquTyNh1fP2sSNGfFAQLdKwdQ%3D"}],"group":"cf-nel","max_age":604800}
    server
    	cloudflare
    vary
    	Origin
    via
    	1.1 google
    x-powered-by
    	Express
    	
    Accept
    	application/json, text/plain, */*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	da,en-US;q=0.7,en;q=0.3
    Alt-Used
    	editor.p5js.org
    Cache-Control
    	max-age=0
    Connection
    	keep-alive
    Cookie
    	sessionId=s%3AkuIfHn5p7eFJ2c3bI7jy6aj6XZwbYDhI.nfUd2ZVB1s1buxQLgoU%2ByVlIQxsjAfVtv%2F6WlhrJJHc
    Host
    	editor.p5js.org
    Referer
    	https://editor.p5js.org/login
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:89.0) Gecko/20100101 Firefox/89.0
XHRPOSThttps://editor.p5js.org/editor/login
[HTTP/3 401 Unauthorized 684ms]

	
POST
	https://editor.p5js.org/editor/login
Status401
Unauthorized
VersionHTTP/3
Transferred948 B (43 B size)
Referrer Policystrict-origin-when-cross-origin

    	
    access-control-allow-credentials
    	true
    access-control-allow-origin
    	https://editor.p5js.org
    alt-svc
    	h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
    cf-cache-status
    	DYNAMIC
    cf-ray
    	67663f480a51735f-CPH
    content-length
    	43
    content-type
    	application/json; charset=utf-8
    date
    	Thu, 29 Jul 2021 12:10:59 GMT
    etag
    	W/"2b-LNOPSj36zBLYs/FYlqqUmbnJGls"
    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\/v3?s=f7lHCv2lzSrlFSvkabYzrx27T9n0vGnqGHD9TcJx%2FpLIdbfScZU9Czrr8uR%2BO8lWAMYRXGyuIIwZjH1iXXJxTwRTCZayguZ3RjbZYxvsxLx3CTzwlh%2Fgcg1keN%2FrNWNouiA%3D"}],"group":"cf-nel","max_age":604800}
    server
    	cloudflare
    vary
    	Origin
    via
    	1.1 google
    x-powered-by
    	Express
    	
    Accept
    	application/json, text/plain, */*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	da,en-US;q=0.7,en;q=0.3
    Alt-Used
    	editor.p5js.org
    Connection
    	keep-alive
    Content-Length
    	44
    Content-Type
    	application/json;charset=utf-8
    Cookie
    	sessionId=s%3AkuIfHn5p7eFJ2c3bI7jy6aj6XZwbYDhI.nfUd2ZVB1s1buxQLgoU%2ByVlIQxsjAfVtv%2F6WlhrJJHc
    Host
    	editor.p5js.org
    Origin
    	https://editor.p5js.org
    Referer
    	https://editor.p5js.org/login
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:89.0) Gecko/20100101 Firefox/89.0
@welcome
Copy link

welcome bot commented Jul 30, 2021

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@pelikhan
Copy link

Unable to login through github as well.

@calebfoss calebfoss mentioned this issue Sep 27, 2021
@catarak
Copy link
Member

catarak commented Oct 5, 2021

Thanks for reporting, and apologies for the delay in responding to this! I will take some time today to dig into this and hopefully have a solution sometime this week.

catarak added a commit that referenced this issue Oct 5, 2021
[#1910] Fix GitHub login to work with new passport-github2 package
catarak added a commit that referenced this issue Oct 5, 2021
[#1910][#1928] Update Login Form to show submit errors, not disable on submit error
@catarak
Copy link
Member

catarak commented Oct 5, 2021

I ended up fixing and deploying this today! Let me know if you're still having issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants