Skip to content

Commit

Permalink
fix(model): export schema for discovery document
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Jul 1, 2024
1 parent e9c71a0 commit 9263fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/models/openid.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type InferOutput, object, pipe, string, url } from 'valibot';

const DiscoveryDocument = object({
export const DiscoveryDocument = object({
issuer: pipe(string(), url()),
authorization_endpoint: pipe(string(), url()),
token_endpoint: pipe(string(), url()),
Expand Down

0 comments on commit 9263fd8

Please sign in to comment.