Skip to content
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

HTTP Error 401: Unauthorized (Fixed in v71) #177

Open
nihil21 opened this issue Nov 10, 2020 · 31 comments
Open

HTTP Error 401: Unauthorized (Fixed in v71) #177

nihil21 opened this issue Nov 10, 2020 · 31 comments

Comments

@nihil21
Copy link

nihil21 commented Nov 10, 2020

Hi,
when pasting the authorization code into the plasmoid and clicking 'Submit', this message appears and obviously the calendar events from Google Calendar do not appear in the plasmoid.

I've installed the applet from KDE Plasma settings. My system information is the following:

  • Manjaro Linux x86_64
  • 5.8.18-1-MANJARO kernel
  • Plasma 5.20.2
@Zren
Copy link
Owner

Zren commented Nov 11, 2020

I'm currently trying to fix a quota limit in #171 caused by a few users who haven't upgraded in a year. I plan to ship an update by Friday at the latest which should re-enable Google Calendar sync.

@RickSlashee
Copy link

Same issue here, thank you @Zren

@nihil21
Copy link
Author

nihil21 commented Nov 12, 2020

Thanks @Zren

@TassieDevyl
Copy link

Same issue currently running version: 69.
Thanks for the update @Zren

@meronogbai
Copy link

Same issue here as well. Thanks @Zren

@Zren
Copy link
Owner

Zren commented Nov 13, 2020

v71 with the updated API keys has been released. After updating, relog to restart plasmashell. It will then prompt you to login again to Google Calendar to sync the events. I'll be leaving this issue open as people will be googling this error for the near future.

@Zren Zren changed the title HTTP Error 401: Unauthorized HTTP Error 401: Unauthorized (Fixed in v71) Nov 13, 2020
@Zren Zren pinned this issue Nov 13, 2020
@nihil21
Copy link
Author

nihil21 commented Nov 13, 2020

I can confirm it's working now. Thank you very much @Zren for your work!

@TassieDevyl
Copy link

Working again now.
Thank you @Zren

@JillSwift
Copy link

v71 working and so beautiful for it. Thanks, @Zren!

@david-cortes
Copy link

david-cortes commented Nov 16, 2020

It's working correctly for me too, but I get a 0 error display at the bottom (HTTP Error 0: Could not connect. Will try again soon). The functionality is there though.

@shonnubaradee
Copy link

v. 71, worked yesterday, today I get HTTP Error 0: Could not connect. Will try again soon mistake, and no events from my Google calendar.

@decoherencer
Copy link

decoherencer commented Nov 22, 2020

I am getting

Authorization Error 
Error 401: invalid_client
The OAuth client was not found.

when trying to login - while getting code from browser

@Zren
Copy link
Owner

Zren commented Nov 22, 2020

Have you updated to v71 of EventCalendar then restarted plasma @decoherencer? All versions below v71 no longer work.

@decoherencer
Copy link

Thanks zren, restart seems to have fixed it.

@yuannan
Copy link

yuannan commented Dec 13, 2020

Thanks zren, restart seems to have fixed it.

For future reference and for other users.
You will have to update it via the GUI and restart plasmashell
sudo systemctl restart sddm
or as I prefer

sudo pkill plasmashell
plasmashell & disown

After this, right click on event calendar and reconfigure Google Calendar with a new key.
Worked for me. No reboot required.

@rocketraman
Copy link

Do I need a more recent version of KDE to install this version? On Fedora 32 with Plasma 5.18.5, and I just get "Install script failed".

@Zren
Copy link
Owner

Zren commented Mar 9, 2021

@rocketraman What specifically says "Install script failed"? At you referring to the status bar of the "Get New Widgets" popup? I do remember a KDE bug that caused an issue with the "Get New Widgets" dialog in older versions of Plasma.

You can download the .plasmoid from the KDE Store directly then run:

  • Upgrade: kpackagetool5 -t Plasma/Applet -u ~/Downloads/eventcalendar-v71.plasmoid
  • Install for the first time: kpackagetool5 -t Plasma/Applet -i ~/Downloads/eventcalendar-v71.plasmoid

Or install from GitHub: https://github.com/Zren/plasma-applet-eventcalendar#b-install-via-github

The sh ./install script just detects if it's already installed and uses -u or -i appropriately.

@rocketraman
Copy link

Yes, it was the Get New Widgets dialog. Updating the .plasmoid using the download from the KDE store as per your instructions worked. Thanks!

@sirish-bajpai
Copy link

@chippyash
Copy link

Same problem: Additional info from Google:

Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob

https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

@CamperSamu
Copy link

+1 on the issue

@jideogunmekan
Copy link

+1 on this

@VitoFe
Copy link

VitoFe commented Feb 24, 2023

+1 on this, getting the out-of-band error message
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

@Super-T02
Copy link

+1 for me it doesn't work also. I get the out-of-band error message. :-/

@0verwritten
Copy link

+1, @Zren could you fix it please🥲

@lollilol
Copy link

lollilol commented May 15, 2023

yup, not working for me
image

@arthuresc
Copy link

@lollilol i'm having the same problem... i quite bored haha

@gleyconJ
Copy link

I'm also having this same problem, please help us! Your plasmoid is very good!

@NeoPrint3D
Copy link

any updates?

@IoSonoAndreaZ
Copy link

the project is dead?

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