The user obtains the URL and code from the device, then switches to a separate device or computer with richer input capabilities | Send feedback Using OAuth 2 |
---|---|
The scope included in your request may not match the scope included in your response, even if the user granted all requested scopes | Kaubamärgid Hangouts Meet ja Hangouts Chat kannavad alates 2020 |
Note that the query-string support will be deprecated on June 1st, 2021.
28It is possible to send tokens as URI query-string parameters, but we don't recommend it, because URI parameters can end up in log files that are not completely secure | In non-service-account scenarios, your application calls Google APIs on behalf of end-users, and user consent is sometimes required |
---|---|
For example, an app that wants to support saving an event to a calendar should not request Google Calendar access until the user presses the "Add to Calendar" button; see | When the token expires, the application repeats the process |
If you need to authorize multiple programs, machines, or devices, one workaround is to limit the number of clients that you authorize per Google Account to 15 or 20.
30Kui olete Google Workspace'i klient, saate pärast koosoleku loomist saata liitumiskutse kellele tahes, isegi kui neil ei ole Google'i kontot | The user launches a browser, navigates to the specified URL, logs in, and enters the code |
---|---|
For a list of libraries that support this scenario, see the | If the user does not grant the permission, the server returns an error |
After the user approves access, the response from the Google server contains an access token and refresh token.
24