Skip to content

Commit 0315fd6

Browse files
committed
chore: fix formatting
1 parent 43f79b4 commit 0315fd6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/clients/typescript/auth-test-no-pkce.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async function oauthFlowWithoutPkce(
3434
resourceMetadataUrl: string | URL,
3535
fetchFn: FetchLike
3636
): Promise<OAuthTokens> {
37-
3837
// 1. Fetch Protected Resource Metadata
3938
const prmResponse = await fetchFn(resourceMetadataUrl);
4039
if (!prmResponse.ok) {
@@ -80,7 +79,9 @@ async function oauthFlowWithoutPkce(
8079
// BUG: NOT setting code_challenge or code_challenge_method
8180

8281
// 5. Fetch authorization endpoint (simulates redirect)
83-
const authResponse = await fetchFn(authUrl.toString(), { redirect: 'manual' });
82+
const authResponse = await fetchFn(authUrl.toString(), {
83+
redirect: 'manual'
84+
});
8485
const location = authResponse.headers.get('location');
8586
if (!location) {
8687
throw new Error('No redirect from authorization endpoint');

0 commit comments

Comments
 (0)