Skip to content

Google's OAuth 2.0 - Authorization Error #1946

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
MartinMSPedersen opened this issue Oct 22, 2021 · 8 comments
Closed

Google's OAuth 2.0 - Authorization Error #1946

MartinMSPedersen opened this issue Oct 22, 2021 · 8 comments

Comments

@MartinMSPedersen
Copy link

  • Found a bug

Details about the bug:

It is not possible to login using Google Auth.
It gives this error: "You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure."

@welcome
Copy link

welcome bot commented Oct 22, 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.

@code4humanity
Copy link
Contributor

@catarak, would you mind giving me some context to fix this issue?

@cwhetung
Copy link

cwhetung commented Nov 3, 2021

Seeing the same issue here.

Cause: Using Google OAuth to login. Redirected to the failure page (PDF attached).

Closing Chrome completely and several retries sometimes let me in, but it is inconsistent.

p5js Sign in Error.pdf

Let me know what other info I can provide!

Thanks,
Clay

UPDATE Seems to work on Safari, but not always on Chrome Version 95.0.4638.69

@johhnry
Copy link

johhnry commented Nov 3, 2021

Hi,

Some users (including me) seems to have the same issue. Here is a linked thread on the Discourse forum:

https://discourse.processing.org/t/error-400-invalid-request/33288

@DavidGriswoldTeacher
Copy link

We are also having this problem. We did not have an issue until today. My students' projects are inaccessible until we get this fixed...

@DavidGriswoldTeacher
Copy link

Following up, I think I may know how to solve this problem.

The screenshot below is partially in English and partially in Portuguese (because I'm physically located in Brazil), so sorry about that.

image

When yo go to the Google help page for this error, one of the bullet points is shown below:

image

Since the web editor seems set up to use HTPPS just fine, my guess is that if the redirect URI is changed to https://editor.p5js.org/auth/google/callback in the google developer console, everything should work fine.

@catarak
Copy link
Member

catarak commented Nov 4, 2021

Hey all,

This has been fixed, and I'm sorry for not fixing this sooner. We're a really small team (in fact, the editor team is just me, part time), and there are a lot of notifications on discord/discourse/GitHub/Twitter/etc. It's difficult to sift through them and find that things that need to be attended to immediately. In the future, for anything urgent, please email [email protected]. And also, in the future, I'll do a better job of communicating how to reach the team for urgent issues. I really appreciate the patience and support!

@catarak catarak closed this as completed Nov 4, 2021
@zeke
Copy link

zeke commented Nov 4, 2021

Thanks for fixing this @catarak! We appreciate your hard work.

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

No branches or pull requests

7 participants