1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-13 00:50:13 +00:00

feat: auto detect callback url (#583)

Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
Kyle Mendell
2025-05-29 10:16:10 -05:00
committed by GitHub
parent 6d6dc6646a
commit 20d3f780a2
8 changed files with 67 additions and 36 deletions

View File

@@ -7,7 +7,7 @@ export type OidcClientMetaData = {
};
export type OidcClient = OidcClientMetaData & {
callbackURLs: [string, ...string[]];
callbackURLs: string[]; // No longer requires at least one URL
logoutCallbackURLs: string[];
isPublic: boolean;
pkceEnabled: boolean;