fix: add openid email scopes to Google OAuth for account identification
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Without email scope, userinfo endpoint returns 401 and account email cannot be captured during OAuth flow. Added openid+email to both GBP and Search Console scopes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
555cb99c86
commit
6b9b8467b6
@ -28,8 +28,8 @@ OAUTH_PROVIDERS = {
|
|||||||
'auth_url': 'https://accounts.google.com/o/oauth2/v2/auth',
|
'auth_url': 'https://accounts.google.com/o/oauth2/v2/auth',
|
||||||
'token_url': 'https://oauth2.googleapis.com/token',
|
'token_url': 'https://oauth2.googleapis.com/token',
|
||||||
'scopes': {
|
'scopes': {
|
||||||
'gbp': 'https://www.googleapis.com/auth/business.manage',
|
'gbp': 'https://www.googleapis.com/auth/business.manage openid email',
|
||||||
'search_console': 'https://www.googleapis.com/auth/webmasters',
|
'search_console': 'https://www.googleapis.com/auth/webmasters openid email',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'meta': {
|
'meta': {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user