Promote dev → uat: GRO-2572 SSO redirect fix (#91) (#92)
CI / Test (push) Failing after 11s
CI / Lint & Typecheck (push) Successful in 31s
CI / Build & Push Docker Image (push) Has been skipped
CI / Test (pull_request) Successful in 23s
CI / Lint & Typecheck (pull_request) Successful in 46s
CI / Build & Push Docker Image (pull_request) Successful in 14s
CI / Test (push) Failing after 11s
CI / Lint & Typecheck (push) Successful in 31s
CI / Build & Push Docker Image (push) Has been skipped
CI / Test (pull_request) Successful in 23s
CI / Lint & Typecheck (pull_request) Successful in 46s
CI / Build & Push Docker Image (pull_request) Successful in 14s
Promote dev → uat: GRO-2572 SSO redirect fix (#91) Co-authored-by: Flea Flicker <22+gb_flea@noreply.git.farh.net> Co-committed-by: Flea Flicker <22+gb_flea@noreply.git.farh.net>
This commit was merged in pull request #92.
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ export const { signIn, signOut, useSession, changePassword } = authClient;
|
||||
| # | Scenario | Steps | Pass Criteria | Fail Criteria |
|
||||
|---|----------|-------|---------------|---------------|
|
||||
| TC-WEB-SSO-1 | Sign-in page shows SSO button | Navigate to app root URL | Sign-in page displayed with "Sign in with SSO" button visible | No SSO button, 403 before page loads |
|
||||
| TC-WEB-SSO-2 | Click SSO redirects to Authentik | Click "Sign in with SSO" button | Browser redirected to Authentik login at auth.farh.net | No redirect, error shown, button does nothing |
|
||||
| TC-WEB-SSO-2 | Click SSO redirects to Authentik (GRO-2572) | **Fresh session only (no pre-existing auth cookie).** Click "Sign in with SSO" button | Browser navigates to Authentik login at auth.farh.net within ~1 s — address bar changes to auth.farh.net URL | No redirect, error shown, button stays disabled, user remains on /login. Regression: prior to GRO-2572 fix the client never followed the `data.url` returned by Better Auth. Run from a clean incognito context to avoid a stale cookie masking the defect. |
|
||||
| TC-WEB-SSO-3 | Valid OIDC credentials authenticate | At Authentik, enter valid credentials and authenticate | Redirected back to app with active session | Redirect loop, 403, session not established |
|
||||
| TC-WEB-SSO-4 | Post-login dashboard accessible | After SSO flow completes, dashboard loads | Dashboard displays correctly with user identity shown | Blank page, 403, session not active |
|
||||
| TC-WEB-SSO-5 | User identity displayed correctly | After SSO login, check header/nav | User name/email/initials shown in nav, role reflected in UI | No user indicator, wrong user shown |
|
||||
|
||||
Reference in New Issue
Block a user