Skip to content

Commit c5fcba4

Browse files
authored
Update auth.ts
1 parent abcf91b commit c5fcba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ async function fetchWithCorsRetry(
320320
/**
321321
* Constructs the well-known path for OAuth metadata discovery
322322
*/
323-
function buildWellKnownPath(wellKnownPath: string, pathname: string): string {
324-
let wellKnownPath = `/.well-known/${wellKnownPath}${pathname}`;
323+
function buildWellKnownPath(wellKnownPrefix: string, pathname: string): string {
324+
let wellKnownPath = `/.well-known/${wellKnownPrefix}${pathname}`;
325325
if (pathname.endsWith('/')) {
326326
// Strip trailing slash from pathname to avoid double slashes
327327
wellKnownPath = wellKnownPath.slice(0, -1);

0 commit comments

Comments
 (0)