mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-28 17:42:01 -05:00
style: apply biome formatting to synced files (#9533)
This commit is contained in:
@@ -2,11 +2,11 @@ import type { GenericEndpointContext } from "@better-auth/core";
|
||||
import { runWithEndpointContext } from "@better-auth/core/context";
|
||||
import { APIError } from "@better-auth/core/error";
|
||||
import { betterFetch } from "@better-fetch/fetch";
|
||||
import {
|
||||
OAuth2Server,
|
||||
type MutableResponse,
|
||||
type TokenRequestIncomingMessage,
|
||||
import type {
|
||||
MutableResponse,
|
||||
TokenRequestIncomingMessage,
|
||||
} from "oauth2-mock-server";
|
||||
import { OAuth2Server } from "oauth2-mock-server";
|
||||
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
|
||||
import { createAuthClient } from "../../client";
|
||||
import { getAwaitableValue } from "../../context/helpers";
|
||||
|
||||
@@ -95,8 +95,7 @@ export function oidcServerMetadata(
|
||||
: getJwtPlugin(ctx.context).options;
|
||||
const authMetadata = authServerMetadata(ctx, jwtPluginOptions, {
|
||||
scopes_supported: opts.advertisedMetadata?.scopes_supported ?? opts.scopes,
|
||||
dynamic_client_registration_supported:
|
||||
opts.allowDynamicClientRegistration,
|
||||
dynamic_client_registration_supported: opts.allowDynamicClientRegistration,
|
||||
// `public_client_supported` flips `"none"` into the advertised auth
|
||||
// methods. Any configured `clientDiscovery` implicitly produces public
|
||||
// clients (CIMD, wallet attestation, etc.), so the flag must reflect
|
||||
|
||||
@@ -52,11 +52,7 @@ import type {
|
||||
SSOOptions,
|
||||
SSOProvider,
|
||||
} from "../types";
|
||||
import {
|
||||
domainMatches,
|
||||
safeJsonParse,
|
||||
validateEmailDomain,
|
||||
} from "../utils";
|
||||
import { domainMatches, safeJsonParse, validateEmailDomain } from "../utils";
|
||||
import { getVerificationIdentifier } from "./domain-verification";
|
||||
import {
|
||||
createIdP,
|
||||
|
||||
Reference in New Issue
Block a user