Update auth.ts
This commit is contained in:
parent
7b02c5cda3
commit
3bdecfc1b9
1 changed files with 1 additions and 1 deletions
|
|
@ -263,8 +263,8 @@ export async function discoverOAuthProtectedResourceMetadata(
|
|||
} else {
|
||||
const issuer = new URL(serverUrl);
|
||||
const wellKnownPath = buildWellKnownPath('oauth-protected-resource', issuer.pathname);
|
||||
wellKnownPath.search = issuer.search;
|
||||
url = new URL(wellKnownPath, issuer);
|
||||
url.search = issuer.search;
|
||||
}
|
||||
|
||||
let response: Response;
|
||||
|
|
|
|||
Loading…
Reference in a new issue