SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

Issue authorising google calendar

Open DMTarmey opened this issue 2 years ago • 2 comments

⚠️ Check for existing issues before proceeding. ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?

Windows

Which branch of SuperAGI are you using?

Main

Do you use OpenAI GPT-3.5 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

Iv tried different way so I'm reaching out Access blocked: This app’s request is invalid

[email protected] You can’t sign in because this app sent an invalid request. You can try again later or contact the developer about this issue. Learn more about this error If you are a developer of this app, see error details. Error 400: redirect_uri_mismatch

How to replicate your Issue?

No response

Upload Error Log Content

docker compose logs

DMTarmey avatar Jul 09 '23 01:07 DMTarmey

Have you followed all steps written in the Readme.md?

neelayan7 avatar Jul 10 '23 05:07 neelayan7

The updated code for the new redirect uri will be merged soon.

Tarraann avatar Jul 10 '23 05:07 Tarraann

has this been merged yet ?

DMTarmey avatar Jul 12 '23 14:07 DMTarmey

so just downloaded latest code and it still has issue connecting to google calendar i got this message :- Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=http://localhost:3000/api/oauth-calendar Related developer documentation

page suggest it to do with google api security changes Using OAuth 2.0 for Web Server Applications https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch

DMTarmey avatar Jul 13 '23 18:07 DMTarmey

This issue occurs when the redirect url is not setup properly while obtaining the keys from google calender. Make sure this is done. We have checked this extensively and google calender seems to work when the setup is done right. If this issue still persists please feel free to ask for assistance on discord. Closing this issue.

JohnHunt999 avatar Aug 02 '23 12:08 JohnHunt999