Skip to content

Commit 9be8fce

Browse files
committed
fix: tests
1 parent a82c634 commit 9be8fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utils/generateAuthUrl.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe("generateAuthUrl", () => {
6161
state: "state123",
6262
};
6363
const expectedUrl =
64-
"https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline_access&prompt=create&state=state123";
64+
"https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline&prompt=create&state=state123";
6565

6666
const result = generateAuthUrl(domain, IssuerRouteTypes.login, options);
6767
const nonce = result.url.searchParams.get("nonce");
@@ -80,7 +80,7 @@ describe("generateAuthUrl", () => {
8080
prompt: "create",
8181
};
8282
const expectedUrl =
83-
"https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline_access&prompt=create";
83+
"https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline&prompt=create";
8484

8585
const result = generateAuthUrl(domain, IssuerRouteTypes.login, options);
8686
const nonce = result.url.searchParams.get("nonce");

0 commit comments

Comments
 (0)