stack/apps
Zai Shi dfae043457
Fix redirect uri error message (#682)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Update error message for invalid redirect URIs in OAuth callback
handler and adjust tests accordingly.
> 
>   - **Behavior**:
> - In `route.tsx`, change error handling for invalid redirect URIs to
throw `StatusError` with message: "Invalid redirect URI. You might have
set the wrong redirect URI in the OAuth provider settings. (Please copy
the redirect URI from the Stack Auth dashboard and paste it into the
OAuth provider's dashboard)".
>   - **Tests**:
> - Update `callback.test.ts` to expect new error message for untrusted
redirect URL case.
> 
> <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 00c68bc708. 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: Konsti Wohlwend <n2d4xc@gmail.com>
2025-07-02 01:12:10 +00:00
..
backend Fix redirect uri error message (#682) 2025-07-02 01:12:10 +00:00
dashboard Improve user profile page (#712) 2025-07-02 02:59:12 +02:00
dev-launchpad chore: update package versions 2025-06-30 10:30:28 -07:00
e2e Fix redirect uri error message (#682) 2025-07-02 01:12:10 +00:00
mcp-server chore: update package versions 2025-06-30 10:30:28 -07:00
mock-oauth-server chore: update package versions 2025-06-30 10:30:28 -07:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00