stack/apps/backend
Kyle Worrall d140c4226f
Add prompt and include_granted_scopes to Google OAuth params (#730)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Add `prompt` and `include_granted_scopes` to Google OAuth params in
`GoogleProvider`.
> 
>   - **Behavior**:
> - Adds `prompt: "consent"` and `include_granted_scopes: "true"` to
`authorizationExtraParams` in `GoogleProvider` in `google.tsx`.
> - Ensures user consent is always prompted and previously granted
scopes are included in Google OAuth flow.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for e2d3d9ca60. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-07-02 19:12:23 +00:00
..
prisma Send email route and notification settings page (#717) 2025-07-01 19:17:53 -07:00
scripts Remove remnants of Fern docs 2025-06-20 15:50:57 -07:00
src Add prompt and include_granted_scopes to Google OAuth params (#730) 2025-07-02 19:12:23 +00:00
.env Email deliverability check 2025-06-19 15:56:26 -07:00
.env.development added cron job to for daily failed email digest (#714) 2025-06-17 15:38:09 -07:00
.eslintrc.cjs tsup for stack-shared (#647) 2025-04-28 21:26:52 -07:00
.gitignore Migrations toolkit (#409) 2025-02-01 17:46:21 -08:00
CHANGELOG.md chore: update package versions 2025-06-30 10:30:28 -07:00
LICENSE Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
next.config.mjs Fix STACK-SERVER-QP 2025-02-17 11:12:34 -08:00
package.json chore: update package versions 2025-06-30 10:30:28 -07:00
sentry.client.config.ts JS lib docs (#444) 2025-02-20 00:48:05 +01:00
tsconfig.json In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
vitest.config.ts In-source unit tests (#429) 2025-02-14 11:47:52 -08:00