stack/packages/template/src/components-page
Zai Shi c28e4a636f
Handle OAuth consent_required error (#685)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Handle `consent_required` error in OAuth flow and update error message
in `ErrorPage`.
> 
>   - **Behavior**:
> - Handle `consent_required` error in `OAuthBaseProvider` in `base.tsx`
by throwing `KnownErrors.OAuthProviderAccessDenied()`.
> - Update error message in `ErrorPage` in `error-page.tsx` to reflect
both cancellation and denial scenarios.
>   - **Misc**:
> - Minor text change in `ErrorPage` to improve clarity of the error
message.
> 
> <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 e2aa5a4027. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
2025-05-15 23:09:27 +02:00
..
account-settings No more instanceof KnownError 2025-05-15 12:13:19 -07:00
account-settings.tsx UI refactoring (#616) 2025-04-10 19:49:42 +02:00
auth-page.tsx fix: auth page flash message (#628) 2025-05-08 01:12:48 +02:00
cli-auth-confirm.tsx Add CLI authentication endpoints (#503) 2025-03-12 18:44:33 -07:00
email-verification.tsx No more instanceof KnownError 2025-05-15 12:13:19 -07:00
error-page.tsx Handle OAuth consent_required error (#685) 2025-05-15 23:09:27 +02:00
forgot-password.tsx Fix sign in button in forgot password page (#538) 2025-03-15 02:35:49 +01:00
magic-link-callback.tsx No more instanceof KnownError 2025-05-15 12:13:19 -07:00
oauth-callback.tsx add spinner to redirect page (#572) 2025-03-24 00:55:48 +01:00
password-reset.tsx No more instanceof KnownError 2025-05-15 12:13:19 -07:00
section.tsx UI refactoring (#616) 2025-04-10 19:49:42 +02:00
sign-in.tsx Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
sign-out.tsx Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
sign-up.tsx Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
stack-handler.tsx Revert "Fix/disable forgot password when auth disabled" (#649) 2025-04-25 17:22:23 -07:00
team-creation.tsx React SDK (#462) 2025-02-27 01:55:45 +01:00
team-invitation.tsx No more instanceof KnownError 2025-05-15 12:13:19 -07:00