-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Add protocol versions to "About UniMe" page (#267)
* Add underlying specs to "About UniMe" page Fixes #265 * Show specifications only in dev mode * Open spec links in the default browser * Add comment * Respond to review comments
- Loading branch information
Showing
6 changed files
with
103 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import type { PageServerLoad } from './$types'; | ||
|
||
interface Specification { | ||
id: string; | ||
description: string; | ||
version: string; | ||
url: string; | ||
} | ||
|
||
export const load = (async () => { | ||
// https://github.com/impierce/openid4vc?tab=readme-ov-file#rust-library-for-openid-for-verifiable-credentials | ||
|
||
const specifications: Specification[] = [ | ||
{ | ||
id: 'OID4VCI', | ||
description: 'OpenID for Verifiable Credential Issuance', | ||
version: 'Working Group Draft 13 (published: 8 February 2024)', | ||
url: 'https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0-13.html', | ||
}, | ||
{ | ||
id: 'OID4VP', | ||
description: 'OpenID for Verifiable Presentations', | ||
version: 'Working Group Draft 20 (published: 29 November 2023)', | ||
url: 'https://openid.net/specs/openid-4-verifiable-presentations-1_0-20.html', | ||
}, | ||
{ | ||
id: 'SIOPv2', | ||
description: 'Self-Issued OpenID Provider v2', | ||
version: 'Working Group Draft 13 (published: 28 November 2023)', | ||
url: 'https://openid.net/specs/openid-connect-self-issued-v2-1_0-13.html', | ||
}, | ||
]; | ||
|
||
return { | ||
specifications, | ||
}; | ||
}) satisfies PageServerLoad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters