Skip to content

Make oidc server more rigid #442

@royscheeren

Description

@royscheeren

Problem statement

The oidc server currently runs as a development server and is kept alive but does not register a thrown exception correctly and therefore does not restart.

Definition of done

The server runs as a production environment and can recover

0|oidc-ser | 2025-04-10T11:25:30: POST: Presenting credential
0|oidc-ser | 2025-04-10T11:25:30: Presentation: 
0|oidc-ser | 2025-04-10T11:25:30:  {
0|oidc-ser | 2025-04-10T11:25:30:   '@context': [ 'https://www.w3.org/2018/credentials/v1' ],
0|oidc-ser | 2025-04-10T11:25:30:   id: 'urn:uuid:b4880157-8707-4a9b-820e-aa61305ea1c7',
0|oidc-ser | 2025-04-10T11:25:30:   type: [ 'VerifiablePresentation' ],
0|oidc-ser | 2025-04-10T11:25:30:   verifiableCredential: [
0|oidc-ser | 2025-04-10T11:25:30:     {
0|oidc-ser | 2025-04-10T11:25:30:       '@context': [Array],
0|oidc-ser | 2025-04-10T11:25:30:       id: 'urn:uuid:12f64fd2-598e-43c7-84e4-c7a0dc23cec1',
0|oidc-ser | 2025-04-10T11:25:30:       type: [Array],
0|oidc-ser | 2025-04-10T11:25:30:       credentialSubject: [Object],
0|oidc-ser | 2025-04-10T11:25:30:       issuer: 'did:pkh:tz:tz1VqcxSAau4fB3D5jwVBSLZyt7N8zJsGVtq',
0|oidc-ser | 2025-04-10T11:25:30:       issuanceDate: '2024-12-16T09:42:40.712Z',
0|oidc-ser | 2025-04-10T11:25:30:       proof: [Object],
0|oidc-ser | 2025-04-10T11:25:30:       expirationDate: '2102-09-15T17:14:33Z'
0|oidc-ser | 2025-04-10T11:25:30:     },
0|oidc-ser | 2025-04-10T11:25:30:     {
0|oidc-ser | 2025-04-10T11:25:30:       '@context': [Array],
0|oidc-ser | 2025-04-10T11:25:30:       id: 'urn:uuid:12f64fd2-598e-43c7-84e4-c7a0dc23cec1',
0|oidc-ser | 2025-04-10T11:25:30:       type: [Array],
0|oidc-ser | 2025-04-10T11:25:30:       credentialSubject: [Object],
0|oidc-ser | 2025-04-10T11:25:30:       issuer: 'did:pkh:tz:tz1VqcxSAau4fB3D5jwVBSLZyt7N8zJsGVtq',
0|oidc-ser | 2025-04-10T11:25:30:       issuanceDate: '2024-12-16T09:42:40.712Z',
0|oidc-ser | 2025-04-10T11:25:30:       proof: [Object],
0|oidc-ser | 2025-04-10T11:25:30:       expirationDate: '2102-09-15T17:14:33Z'
0|oidc-ser | 2025-04-10T11:25:30:     }
0|oidc-ser | 2025-04-10T11:25:30:   ],
0|oidc-ser | 2025-04-10T11:25:30:   proof: {
0|oidc-ser | 2025-04-10T11:25:30:     type: 'Ed25519Signature2018',
0|oidc-ser | 2025-04-10T11:25:30:     proofPurpose: 'authentication',
0|oidc-ser | 2025-04-10T11:25:30:     challenge: 'be835149-aa50-42c2-8c3c-caff05cf3988',
0|oidc-ser | 2025-04-10T11:25:30:     verificationMethod: 'did:key:z6MkodvsXapavSqj19pfvR78cirJrJrh78y6raDdhhxmdU4w#z6MkodvsXapavSqj19pfvR78cirJrJrh78y6raDdhhxmdU4w',
0|oidc-ser | 2025-04-10T11:25:30:     created: '2025-04-10T11:25:07.036353Z',
0|oidc-ser | 2025-04-10T11:25:30:     domain: 'did:key:z6MknCGsUC4cU9V1GLCpnhwzpJd78Brc3YsYyeobTBxQXa9Y',
0|oidc-ser | 2025-04-10T11:25:30:     jws: 'eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..LYucpreG9XDxKbOOHM8m_sfNv94SW438MSDYWHu9rmYJrqDuHVhMGTNoGHDZU0IqigwKXMbq4kauzB-WFOTTDw'
0|oidc-ser | 2025-04-10T11:25:30:   },
0|oidc-ser | 2025-04-10T11:25:30:   holder: 'did:key:z6MkodvsXapavSqj19pfvR78cirJrJrh78y6raDdhhxmdU4w'
0|oidc-ser | 2025-04-10T11:25:30: }
0|oidc-ser | 2025-04-10T11:25:30: Presentation invalid

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions