Skip to content

Commit 5e268a8

Browse files
committed
Update docs
1 parent 20419a3 commit 5e268a8

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"psr/container": "^2.0",
3232
"psr/log": "^3",
3333
"simplesamlphp/composer-module-installer": "^1.3",
34-
"simplesamlphp/openid": "dev-wip-vci",
34+
"simplesamlphp/openid": "~0.1.0",
3535
"spomky-labs/base64url": "^2.0",
3636
"symfony/expression-language": "^6.3",
3737
"symfony/psr-http-message-bridge": "^7.1",

docs/1-oidc.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ Currently supported OIDFed features:
3030
OIDFed is implemented using the
3131
[SimpleSAMLphp OpenID library](https://github.com/simplesamlphp/openid).
3232

33+
## Note on OpenID for Verifiable Credential Issuance (OpenID4VCI) support
34+
35+
OpenID4VCI support was done as per draft 15 of the specification and is in the
36+
experimental stage. You should NOT use it in production environments.
37+
38+
Currently implemented OpenID4VCI features:
39+
40+
- Grant types:
41+
- Pre-authorized Code flow (new flow defined by the OpenID4VCI spec)
42+
- Authorization Code flow
43+
- Credential formats:
44+
- jwt_vc_json, using VCDM v1.1
45+
- dc+sd-jwt (previously vc+sd-jwt) (SD-JWT VC)
46+
- Proof types:
47+
- jwt
48+
- API for credential offer fetching
49+
50+
OpenID4VCI is also implemented using the
51+
[SimpleSAMLphp OpenID library](https://github.com/simplesamlphp/openid).
52+
3353
## Version compatibility
3454

3555
Minor versions listed show which SimpleSAMLphp versions were used during

docs/6-oidc-upgrade.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
This is an upgrade guide from versions 1 → 7. Review the changes and
44
apply those relevant to your deployment.
55

6-
## TODO mivanci
7-
* Move to specific simplesamlphp/openid release (composer.json).
8-
96
## Version 6 to 7
107

118
New features:
129

10+
- Initial support for OpenID for Verifiable Credential Issuance
11+
(OpenID4VCI). Note that the implementation is experimental. You should not use
12+
it in production yet.
13+
1314
New configuration options:
1415

16+
- Several new options regarding support for OpenID4VCI.
17+
1518
Major impact changes:
1619

1720
- In v6 of the module, when defining custom scopes, there was a possibility to

src/Factories/VerifiableCredentialsFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function build(): VerifiableCredentials
2828
$supportedAlgorithms = new SupportedAlgorithms(
2929
new SignatureAlgorithmBag(
3030
SignatureAlgorithmEnum::from($this->moduleConfig->getProtocolSigner()->algorithmId()),
31+
SignatureAlgorithmEnum::RS256,
3132
SignatureAlgorithmEnum::RS384,
3233
SignatureAlgorithmEnum::RS512,
3334
SignatureAlgorithmEnum::ES256,

0 commit comments

Comments
 (0)