mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(api): 🐛 Change consent route from /oauth/redirect to /oauth/consent
This commit is contained in:
parent
99822a716d
commit
9834825184
3 changed files with 4 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue