stack/apps/e2e/tests/backend/endpoints/api/v1/auth
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
..
anonymous Anonymous users (#566) 2025-03-20 18:24:19 -07:00
cli Add CLI authentication endpoints (#503) 2025-03-12 18:44:33 -07:00
mfa Upgrade oslo to oslojs (#564) 2025-03-26 02:02:03 +01:00
oauth Fix redirect uri error message (#682) 2025-07-02 01:12:10 +00:00
otp Fix flakey tests 2025-04-22 22:20:28 -07:00
passkey Passkey support (#321) 2024-10-28 16:56:46 -07:00
password Fix redirect url (#703) 2025-06-27 04:00:12 +02:00
sessions Active Sessions Page (#528) 2025-03-12 22:35:32 +01:00