Google requires sensitive permission to list calendars which causes this security prompt to always appear at user login:
This is due to auth/calendar.readonlypermission in this code in the Login page.
Normally calendarList.readonly should be sufficient but Google requires this sensitive scope to just list calendars per their API doc.
Changing the permission indeed makes the login prompt disappear, but then error 403 is returned when CodeSelector component is trying to get calendar list.
Google requires sensitive permission to list calendars which causes this security prompt to always appear at user login:
This is due to
auth/calendar.readonly
permission in this code in the Login page.Normally
calendarList.readonly
should be sufficient but Google requires this sensitive scope to just list calendars per their API doc.Changing the permission indeed makes the login prompt disappear, but then error 403 is returned when CodeSelector component is trying to get calendar list.