Skip to content

Commit

Permalink
fix: make the logininfo type match the backend types
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Jul 29, 2024
1 parent f83912f commit d7cc0fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bundle/website.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions lib/build/recipe/oauth2provider/types.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions lib/ts/recipe/oauth2provider/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ export type LoginInfo = {
// The name of the client.
clientName: string;
// The URI of the client's terms of service.
tosUri: string;
tosUri?: string;
// The URI of the client's privacy policy.
policyUri: string;
policyUri?: string;
// The URI of the client's logo.
logoUri: string;
logoUri?: string;
// The URI of the client.
clientUri?: string;
// The metadata associated with the client.
metadata?: Record<string, any> | null;
};

0 comments on commit d7cc0fe

Please sign in to comment.