feat(api): 🐛 Change consent route from /oauth/redirect to /oauth/consent

This commit is contained in:
Jesse Wierzbinski 2024-04-21 21:36:45 -10:00
parent 99822a716d
commit 9834825184
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ describe("POST /api/auth/login/", () => {
"",
);
expect(locationHeader.pathname).toBe("/oauth/redirect");
expect(locationHeader.pathname).toBe("/oauth/consent");
expect(locationHeader.searchParams.get("client_id")).toBe(client_id);
expect(locationHeader.searchParams.get("redirect_uri")).toBe(
"https://example.com",