How to auto-check Google approved scopes on OAuth page?

I've been fully verified for the Google Calendar API as shown in the image below...

shows that scope is approved

...but when users hit my OAuth consent screen on the webflow, the box is unchecked by default on the calendar as shown in the following image...

calendar scope unchecked by default

Is there any way to ensure that the box is checked by default?

I'm using Django as my framework with the code below for the auth flow:

    flow = google_auth_oauthlib.flow.Flow.from_client_secrets_file(
    env('GOOGLE_CLIENT_SECRET'),
    scopes=['https://www.googleapis.com/auth/calendar.events','https://www.googleapis.com/auth/userinfo.email', 'openid']
    )
    
flow.redirect_uri = env('GOOGLE_FLOW_REDIRECT_URI')

authorization_url, state = flow.authorization_url(
access_type='offline',
prompt='consent',
include_granted_scopes='true'
)

Same issue here, quite erratic it works differnt on others oauth, looks their a bug to us, it should ask for every permission and then confirm with the actuall screen with unchecked marks.

Back to Top