Search code examples
google-calendar-apigoogle-oauthgoogle-api-dotnet-client

Google showing confusing consent screen


I'm authorizing for Google Calendar usage from a .NET web application. Here's the url I made: https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/calendar&redirect_uri=my_redirect_url&response_type=code&client_id=my_client_id&access_type=offline.
What I expected is the consent screen would say something like 'This application would like to access to your calendar', but it just says 'Have offline access'. Isn't that confusing? Did I miss something?


Solution

  • It will say "Have offline access" when you have previously granted calendar access but did not de-authorize the app before being prompted again.