GrantPermission
OAuth flow for Google Drive permission
Handles the OAuth2 flow for granting Google Drive permissions.
- If token and code are provided, completes the OAuth flow.
- Otherwise, returns an authorization URL to start the flow.
post/grantpermission
Request body
Response
Permission granted or auth URL returned
Example response
{
"message": "Success!"
}