mirror of
https://github.com/PhialsBasement/LibreCrawl.git
synced 2026-10-18 00:19:37 +02:00
Fix: Zoho login failed with "An error occurred"
The authorize request sent prompt=select_account, which Zoho doesn't support (its only valid value is "consent"). Zoho showed a generic error page instead of the sign-in screen. Drop the parameter. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
d451885216
commit
3a93daa6d8
1 file changed
+2
-1
+2
-1
@@ -67,8 +67,9 @@ class ZohoOAuthConfig:
|
||||
'scope': self.scopes,
|
||||
'redirect_uri': redirect_uri,
|
||||
'state': state,
|
||||
# No `prompt`: Zoho rejects any value but "consent", which would
|
||||
# make users re-approve the app on every login
|
||||
'access_type': 'online',
|
||||
'prompt': 'select_account',
|
||||
}
|
||||
return f'{self.accounts_url}/oauth/v2/auth?{urlencode(params)}'
|
||||
|
||||
|
||||
Reference in new issue
Block a user