style: bun run fix

This commit is contained in:
roboomp
2026-06-26 07:09:36 +00:00
parent ff6e1b6e17
commit fcee2cb783
@@ -434,8 +434,7 @@ export async function discoverOAuthEndpoints(
// different schema, so the issuer check only gates the two official
// auth-server documents.
const requireIssuerMatch =
path === "/.well-known/oauth-authorization-server" ||
path === "/.well-known/openid-configuration";
path === "/.well-known/oauth-authorization-server" || path === "/.well-known/openid-configuration";
const issuerOk = requireIssuerMatch ? issuerMatchesBase(metadata.issuer, baseUrl) : true;
const endpoints = issuerOk ? findEndpoints(metadata) : null;
if (endpoints) return endpoints;