1b.app
Link copied -

OS - error 400 when authorizing a Google calendar account

Installed Google-calendar from the video, which is here:
https://www.youtube.com/watch?v=9aUgWp8avkQ
I received a token and a client id, registered and authorize an account: screen 992
Gives 400 error, screen 993
What to do?
Original question is available on version: ru Вячеслав Легеза

Answers:


Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH)
FOP Legeza Vyacheslav Valerianovich wrote:
What to do?

check the settings, it means that something on the Google side is not correctly spelled out or not spelled out at all
there you need to add what is on screen1 and write there a link to the box and a link https://box_name/google-api-calendar/ , it should be like on screen 2 -
also an error can be if the application is not confirmed, i.e. you need to go through all these steps (screen 3)
+ everything must be connected to the library to the project
11.01.2022, 22:29
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license

Mulach Marina Anatolievna
SheBo wrote:

Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH)
FOP Legeza Vyacheslav Valerianovich wrote:
What to do?

check the settings, it means that something on the Google side is not correctly spelled out or not spelled out at all
there you need to add what is on screen1 and write there a link to the box and a link https://box_name/google-api-calendar/ , it should be like on screen 2 -
also an error can be if the application is not confirmed, i.e. you need to go through all these steps (screen 3)
+ everything must be connected to the library to the project

with the URL everything is OK, they are registered, screen 994
with the type also all the rules, installed the Web application, screen 995
but how to pass the application authorization when the domain belongs to OneBox is not clear
what to do on the second authorization screen and beyond, screen 996
12.01.2022, 10:34
Вячеслав Легеза Original comment available on version: ru

I filled in the fields only at the first stage , at the rest I just left empty settings and just clicked "Save and continue", it just then gives a warning during authorization, like "Are you sure this application is reliable?", I press "Continue" and authorization passes
12.01.2022, 10:51
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license

Mulach Marina Anatolievna
SheBo wrote:
I filled in the fields only at the first stage, on the rest I just left empty settings and just clicked "Save and continue", it just then gives a warning during authorization, like "Are you sure this application is reliable?", I click "Continue" and authorization passes

yes, thanks
figured it out and seems to have missed Google, screen 997
What does it mean to include a library?
here it is, screen 998
entered in connection with the project, screen 999
I can't find any settings here.
12.01.2022, 11:12
Вячеслав Легеза Original comment available on version: ru


Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH)
FOP Legeza Vyacheslav Valerianovich wrote:
What does it mean to include a library?

the screenshot shows that it is not active, you need to click the "Enable" button so that it is like this
12.01.2022, 11:23
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Still gives 400 error, screen 1001
Step by step again:
1. I went and created a new project, screen 1002 and 1003
here: https://console.cloud.google.com/apis/dashboard?project=YOUR PROJECT NAME
2. I went to the libraries, activated api calendar, screenshots 1004 1005 1006
3. I went to Credential and created an oAuth client, screen 1007 with settings 1008
4. Registered in the OneBox application settings, screen 1009
5. On the oAuth consent screen tab, this is how it is now displayed, screen 1010
12.01.2022, 12:29
Вячеслав Легеза Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
and here's how the application itself looks when it enters its adjustment
screen 1011
12.01.2022, 12:34
Вячеслав Легеза Original comment available on version: ru

checked on OS, it works if you specify such a link in the application settings https://box_name/app/google-calendar/auth/callback/
12.01.2022, 13:06
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license

Mulach Marina Anatolievna
SheBo wrote:
checked on OS, it works if you specify such a link in the application settings https://box_name/app/google-calendar/auth/callback/

super
Marina, everything worked out
big respect to you
12.01.2022, 19:46
Вячеслав Легеза Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment