This document describes the pid issuer implementation(s).

Request and response examples

Variant C, sdjwt

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:HlJvxHDPraafXHDwbMyCVt","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AHlJvxHDPraafXHDwbMyCVt' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AHlJvxHDPraafXHDwbMyCVt HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=WeGF8d3ZWGfI4kECYVdzlV
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:49 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=WeGF8d3ZWGfI4kECYVdzlV' -i -X GET

Request:

GET /c/finish-authorization?issuer_state=WeGF8d3ZWGfI4kECYVdzlV HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: sHjdktdeQmIJVzsJKSIddv
location: https://secure.redirect.com?code=k0Mgn8ZbxfLJoFCSSZExsv

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODksIm5vbmNlIjoic0hqZGt0ZGVRbUlKVnpzSktTSWRkdiIsImp0aSI6IkRoRE5janpjTlVoRjNhS2cifQ.g9Xj20Izx58zJbhpQxLqdOZo6_CumFdhD8dQxkbPW7wfj-XbR4JZHtPI-0kY2WSVnZJCnzSy6e8vXmhl3C8rIA' \
    -d 'code=k0Mgn8ZbxfLJoFCSSZExsv&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODksIm5vbmNlIjoic0hqZGt0ZGVRbUlKVnpzSktTSWRkdiIsImp0aSI6IkRoRE5janpjTlVoRjNhS2cifQ.g9Xj20Izx58zJbhpQxLqdOZo6_CumFdhD8dQxkbPW7wfj-XbR4JZHtPI-0kY2WSVnZJCnzSy6e8vXmhl3C8rIA
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=k0Mgn8ZbxfLJoFCSSZExsv&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: 5GiCPb21NLf4yWSKc4y5k5
transfer-encoding: chunked
Content-Length: 140

{"access_token":"zZ5wJTOqAGz93hIdTAiOTa","token_type":"DPoP","expires_in":3600,"c_nonce":"hZ9JGNDfM8wsD8xXTfsCnm","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP zZ5wJTOqAGz93hIdTAiOTa' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6IjRHQnhxSTFYM05HcThKajF0TE93WVdKZ2ZFUVNlSGNsc1lTQkV5LU1QS0kiLCJpYXQiOjE3MzQ0NDQ4ODksIm5vbmNlIjoiNUdpQ1BiMjFOTGY0eVdTS2M0eTVrNSIsImp0aSI6Imt4RHpTQ091aUdFUmdUNkQifQ.sdwwfM81FyWb3BeW9yon4bbVqYSh6Ngt6Zqs4mq7JQBLwNKAx571n1IGwE1aYJRaRQsOxTZDM6-WvViDxJwYuA' \
    -d '{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4OSwibm9uY2UiOiJoWjlKR05EZk04d3NEOHhYVGZzQ25tIn0.-A0upSKgBOnaCmZ8htahMhXzFrkiAJBRbMsukM56tCOtIa4QivAp-rKVcgQ_JG24izMKX299bV0MYeQIuh6g0A","proof_type":"jwt"}}'

Request:

POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP zZ5wJTOqAGz93hIdTAiOTa
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6IjRHQnhxSTFYM05HcThKajF0TE93WVdKZ2ZFUVNlSGNsc1lTQkV5LU1QS0kiLCJpYXQiOjE3MzQ0NDQ4ODksIm5vbmNlIjoiNUdpQ1BiMjFOTGY0eVdTS2M0eTVrNSIsImp0aSI6Imt4RHpTQ091aUdFUmdUNkQifQ.sdwwfM81FyWb3BeW9yon4bbVqYSh6Ngt6Zqs4mq7JQBLwNKAx571n1IGwE1aYJRaRQsOxTZDM6-WvViDxJwYuA
Content-Length: 702
Host: pidi.localhost.bdr.de:8080

{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4OSwibm9uY2UiOiJoWjlKR05EZk04d3NEOHhYVGZzQ25tIn0.-A0upSKgBOnaCmZ8htahMhXzFrkiAJBRbMsukM56tCOtIa4QivAp-rKVcgQ_JG24izMKX299bV0MYeQIuh6g0A","proof_type":"jwt"}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
transfer-encoding: chunked
Content-Length: 4607

{"cred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BIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJXc2pmTFRZM1QzaklCUVEyTnRUZ1l3IiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJkMUUxZG5YR2ZlRVhteHZNbXVBNzR3IiwiY291bnRyeSIsIkRFIl0~WyJfQWNxeU05YU1KZHN0a3lYSVFuckhnIiwicmVnaW9uIiwiIl0~WyJvaVl2SHdtQkNkajhvb0ttbU9LclhBIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJfQS1lMng5TmduRkJ2V0trR25NNkx3Iiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"GClSL0BMKsyNjXUEal9Cnb","c_nonce_expires_in":3600}

Variant C, sdjwt, batch issuance

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:47 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:0wLNM9tWZbpfdkeqhm2g8l","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3A0wLNM9tWZbpfdkeqhm2g8l' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3A0wLNM9tWZbpfdkeqhm2g8l HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=avf6SUigrgo5NQjaC0zLJk
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:47 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=avf6SUigrgo5NQjaC0zLJk' -i -X GET

Request:

GET /c/finish-authorization?issuer_state=avf6SUigrgo5NQjaC0zLJk HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:47 GMT
dpop-nonce: kXYNePyQc7keJ2clWTfwYg
location: https://secure.redirect.com?code=7mmurRZQQ43InDmaAik9Z9

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODcsIm5vbmNlIjoia1hZTmVQeVFjN2tlSjJjbFdUZndZZyIsImp0aSI6InN3ZEVsaDZ0T0phZ2ZmLWcifQ.YBFFORe7K1Nanuky12ALjSdwLVwSEAXna2-fFRMC0HQDUzt00g8KlLFoTa3VCL-2IB7-8sM75pGrnQxzoz7csw' \
    -d 'code=7mmurRZQQ43InDmaAik9Z9&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODcsIm5vbmNlIjoia1hZTmVQeVFjN2tlSjJjbFdUZndZZyIsImp0aSI6InN3ZEVsaDZ0T0phZ2ZmLWcifQ.YBFFORe7K1Nanuky12ALjSdwLVwSEAXna2-fFRMC0HQDUzt00g8KlLFoTa3VCL-2IB7-8sM75pGrnQxzoz7csw
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=7mmurRZQQ43InDmaAik9Z9&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:47 GMT
dpop-nonce: iW0861TeHI9vYKwAoXbSnE
transfer-encoding: chunked
Content-Length: 140

{"access_token":"3SVobcwoU1weRFjyyetl15","token_type":"DPoP","expires_in":3600,"c_nonce":"eRtnSFBtc6eeAtW4ocD9qi","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP 3SVobcwoU1weRFjyyetl15' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1I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joic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4Nywibm9uY2UiOiJlUnRuU0ZCdGM2ZWVBdFc0b2NEOXFpIn0.aDuYtoMyGeXH4Mkakq-tQqx4wZEG2PRrhwRA65AKeVyMJaQ8emkBqTF4J9r1Xd4JjKSL-lDbm4jq-g6x1GND5g"]}}'

Request:

POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP 3SVobcwoU1weRFjyyetl15
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6InRjVDJWTnQ2a0N5T2NINUNnNHJpMjE4enUwRkFfVGt4cy1XNGMweFp3c2siLCJpYXQiOjE3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sRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4Nywibm9uY2UiOiJlUnRuU0ZCdGM2ZWVBdFc0b2NEOXFpIn0.aDuYtoMyGeXH4Mkakq-tQqx4wZEG2PRrhwRA65AKeVyMJaQ8emkBqTF4J9r1Xd4JjKSL-lDbm4jq-g6x1GND5g"]}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:47 GMT
transfer-encoding: chunked
Content-Length: 9142

{"credentials":["eyJ4NWMiOlsiTUlJQ2FUQ0NBZytnQXdJQkFnSVVTaHl4Y0laR2lQVjN3QlJwNFlPbE5wMUkxM1l3Q2dZSUtvWkl6ajBFQXdJd2dZa3hDekFKQmdOVkJBWVRBa1JGTVE4d0RRWURWUVFJREFaaVpISXVaR1V4RHpBTkJnTlZCQWNNQmtKbGNteHBiakVNTUFvR0ExVUVDZ3dEUWtSU01ROHdEUVlEVlFRTERBWk5ZWFZ5WlhJeEhUQWJCZ05WQkFNTUZHbHpjM1ZoYm1ObExYUmxjM1F1WW1SeUxtUmxNUm93R0FZSktvWklodmNOQVFrQkZndDBaWE4wUUdKa2NpNWtaVEFlRncweU5EQTFNamd3T0RJeU1qZGFGdzB6TkRBME1EWXdPREl5TWpkYU1JR0pNUXN3Q1FZRFZRUUdFd0pFUlRFUE1BMEdBMVVFQ0F3R1ltUnlMbVJsTVE4d0RRWURWUVFIREFaQ1pYSnNhVzR4RERBS0JnTlZCQW9NQTBKRVVqRVBNQTBHQTFVRUN3d0dUV0YxY21WeU1SMHdHd1lEVlFRRERCUnBjM04xWVc1alpTM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13IiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyI1V0JyMTFLZlJqUUZQdVBYMGZNZG1RIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~"],"c_nonce":"KBbAO0WTwNNAsSpJPLAC9s","c_nonce_expires_in":3600}

Variant C, mdoc

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:47 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:IQcTrsMQhcpM4TgCOLZP34","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AIQcTrsMQhcpM4TgCOLZP34' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AIQcTrsMQhcpM4TgCOLZP34 HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=T5RKaBkVvKLHKxEz6xqrWQ
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:48 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=T5RKaBkVvKLHKxEz6xqrWQ' -i -X GET

Request:

GET /c/finish-authorization?issuer_state=T5RKaBkVvKLHKxEz6xqrWQ HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: s3sBIX3Ddx04TteFPsgITQ
location: https://secure.redirect.com?code=y950zn5big1xZVsBsnmelv

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoiczNzQklYM0RkeDA0VHRlRlBzZ0lUUSIsImp0aSI6Imk4a1RxR1Vjdm9KalYzekwifQ.StrpNSlMwruksh8AoBAP8h05m0gr5ezx9y9OdfQHVNeAcew5fuqHWV67S2tevGIVOgkf6mrpcAdF1Dv92XUx8Q' \
    -d 'code=y950zn5big1xZVsBsnmelv&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoiczNzQklYM0RkeDA0VHRlRlBzZ0lUUSIsImp0aSI6Imk4a1RxR1Vjdm9KalYzekwifQ.StrpNSlMwruksh8AoBAP8h05m0gr5ezx9y9OdfQHVNeAcew5fuqHWV67S2tevGIVOgkf6mrpcAdF1Dv92XUx8Q
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=y950zn5big1xZVsBsnmelv&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: E0IBRCrRr990CfzcsjRZT3
transfer-encoding: chunked
Content-Length: 140

{"access_token":"2Xnpla6k5LJCxNILGhcKSZ","token_type":"DPoP","expires_in":3600,"c_nonce":"IbD6HlpsXJsqK9FvaU024f","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP 2Xnpla6k5LJCxNILGhcKSZ' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6Ik5WTlpWNzMxUm51N29sYkJpS0xrTG93eDVieDdSVjJRN2h6eTl0eXJzcjAiLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoiRTBJQlJDclJyOTkwQ2Z6Y3NqUlpUMyIsImp0aSI6IlFYazctSUxmZmRTNnp3VGQifQ.Pn9yDneAoAlq7DpKOYJUfdwntlndwClyDqhi31gK1j_O9eDguPto3IjpSVFsikzx54ccs0uIWeLSGvVZNdCRYQ' \
    -d '{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4OCwibm9uY2UiOiJJYkQ2SGxwc1hKc3FLOUZ2YVUwMjRmIn0.si1MZWwuBZSS70ZXat6KgUl9Z90ZmpKUcSc-eSgY5Qu2cb0vy7j2oJG9fResbZf18N9eUNJbmT_2AgHc832z4w","proof_type":"jwt"}}'

Request:

POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP 2Xnpla6k5LJCxNILGhcKSZ
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVM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bZf18N9eUNJbmT_2AgHc832z4w","proof_type":"jwt"}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
transfer-encoding: chunked
Content-Length: 5350

{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EBTADAQH_MAoGCCqGSM49BAMCA0gAMEUCIC7aHnG6VdF5vkiGCmRiJhHUE41O2yNPud_NACEvghI5AiEArqMrDB_p9NNJnC8lQ4C7t3PUPL8OYfX0t5_TOpo02G1ZBGbYGFkEYaZnZG9jVHlwZXdldS5ldXJvcGEuZWMuZXVkaS5waWQuMWd2ZXJzaW9uYzEuMGx2YWxpZGl0eUluZm-jZn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lbnRJZGVudGlmaWVya2FnZV9vdmVyXzE2","c_nonce":"zPysLomhuxazELpnG7KI9l","c_nonce_expires_in":3600}

Variant C, mdoc, batch issuance

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:RrzcQYlibPr9BrI7zE3qrq","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3ARrzcQYlibPr9BrI7zE3qrq' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3ARrzcQYlibPr9BrI7zE3qrq HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=UcNfg4ZX2jr6CD171ItH2u
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:48 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/finish-authorization?issuer_state=UcNfg4ZX2jr6CD171ItH2u' -i -X GET

Request:

GET /c/finish-authorization?issuer_state=UcNfg4ZX2jr6CD171ItH2u HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: oNWf9b0qZpgxCVVaiM2zYD
location: https://secure.redirect.com?code=zbAFaCm3kn80OV2oqTsniL

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoib05XZjliMHFacGd4Q1ZWYWlNMnpZRCIsImp0aSI6ImloVHpmNHBfLVNObmdKdTcifQ.UsIgBXn1W-p0cn6-MGJzPNKTmoaryUxLxfFigK6osCuCQtWnKH6gAmbYAjZuvms322-hjO5D836zpRHUYjhqfQ' \
    -d 'code=zbAFaCm3kn80OV2oqTsniL&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoib05XZjliMHFacGd4Q1ZWYWlNMnpZRCIsImp0aSI6ImloVHpmNHBfLVNObmdKdTcifQ.UsIgBXn1W-p0cn6-MGJzPNKTmoaryUxLxfFigK6osCuCQtWnKH6gAmbYAjZuvms322-hjO5D836zpRHUYjhqfQ
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=zbAFaCm3kn80OV2oqTsniL&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
dpop-nonce: 0KQOPDYpDWcQnn6A6Wh1XT
transfer-encoding: chunked
Content-Length: 140

{"access_token":"2vUpqmiIVo709qzEY7kyr0","token_type":"DPoP","expires_in":3600,"c_nonce":"RmtnexRvo8tqrQaO6X8L4n","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP 2vUpqmiIVo709qzEY7kyr0' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6Ii14WGpOYXVaM1VhQWxuR0dBR1pQTDBFRHkxSGlWSWZtdlJiZjJLd0FoTVEiLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoiMEtRT1BEWXBEV2NRbm42QTZXaDFYVCIsImp0aSI6ImJqZjc3UkpNb2M1a2oxR2YifQ.3SqblyCW6IFRtXVRsk57oQ7qfJiezE0Eq0ccyGX-31tuMgLnEfRQ_UUqlcDpF8EdjmvZWIVV7-rPte_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bGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTczNDQ0NDg4OCwibm9uY2UiOiJSbXRuZXhSdm84dHFyUWFPNlg4TDRuIn0.U_cPpMubnZnbQvpBkUAB_N4ag3ee0M53qgk30zWHK61Ixeop5w0ujwdBIuwCebip5SZ9aoFBtoVERMTcxi1Cqw"]}}'

Request:

POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP 2vUpqmiIVo709qzEY7kyr0
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6Ii14WGpOYXVaM1VhQWxuR0dBR1pQTDBFRHkxSGlWSWZtdlJiZjJLd0FoTVEiLCJpYXQiOjE3MzQ0NDQ4ODgsIm5vbmNlIjoiMEtRT1BEWXBEV2NRbm42QTZXaDFYVCIsImp0aSI6ImJqZjc3UkpNb2M1a2oxR2YifQ.3SqblyCW6IFRtXVRsk57oQ7qfJiezE0Eq0ccyGX-31tuMgLnEfRQ_UUqlcDpF8EdjmvZWIVV7-rPte_kw8tmGQ
Content-Length: 1256
Host: pidi.localhost.bdr.de:8080

{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proofs":{"jwt":["eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMj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ag3ee0M53qgk30zWHK61Ixeop5w0ujwdBIuwCebip5SZ9aoFBtoVERMTcxi1Cqw"]}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:48 GMT
transfer-encoding: chunked
Content-Length: 10628

{"credentials":["omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EBTADAQH_MAoGCCqGSM49BAMCA0gAMEUCIC7aHnG6VdF5vkiGCmRiJhHUE41O2yNPud_NACEvghI5AiEArqMrDB_p9NNJnC8lQ4C7t3PUPL8OYfX0t5_TOpo02G1ZBGbYGFkEYaZnZG9jVHlwZXdldS5ldXJvcGEuZWMuZXVkaS5waWQuMWd2ZXJzaW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ya2FnZV9vdmVyXzEy"],"c_nonce":"LpgJ0NdsxV0tZJjKuBbAt2","c_nonce_expires_in":3600}

Variant C', sdjwt

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:50 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:c8kht8yDhyK83oAKL7wsuc","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Ac8kht8yDhyK83oAKL7wsuc' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Ac8kht8yDhyK83oAKL7wsuc HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=a3QOiR0TNEj1GEOtgD4Zn9
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:51 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=a3QOiR0TNEj1GEOtgD4Zn9' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=a3QOiR0TNEj1GEOtgD4Zn9 HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: lbHTYh1WLeWWMKZHc8vH8s
location: https://secure.redirect.com?code=JbjfXL7N44rKoeCacUaGCO

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6ImxiSFRZaDFXTGVXV01LWkhjOHZIOHMiLCJqdGkiOiJlTncwa3VCVUl5S2ItWC1iIn0.czCe_YsGfd_tnzVc4YfQsVcD5ThDs-zzaRz97JbwaOfbhED3xR0ZMKc4ep2djzmvP_Pcq7lG5Pm9_Fdw0Qr9eQ' \
    -d 'code=JbjfXL7N44rKoeCacUaGCO&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6ImxiSFRZaDFXTGVXV01LWkhjOHZIOHMiLCJqdGkiOiJlTncwa3VCVUl5S2ItWC1iIn0.czCe_YsGfd_tnzVc4YfQsVcD5ThDs-zzaRz97JbwaOfbhED3xR0ZMKc4ep2djzmvP_Pcq7lG5Pm9_Fdw0Qr9eQ
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=JbjfXL7N44rKoeCacUaGCO&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: ZubvgItmFUT5oeys6TfHiD
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"M2Wdklyv9i2NHAJKxSl53Z","token_type":"DPoP","expires_in":3600,"c_nonce":"y4HQ79kJSBGPK2W2XkgjgR","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5PNlZZMlJmdG9reGRkd25WLk5xaVI4dVRsbkRzLV80eHg4M3d2ZXNjcE9VdDJEc1F4Y2pxR1VfSjdxMnRSb29qNjNqTlhSM1FDb0x0UmtFMVI2cUJ0MEVPYVZxdXJGVnoxZU5pMGlnSF94cnNuVEFBTVlPWURQUUduazhUSlJET09MWDRGaUF4M21tRjl5VVVHRE1TTHdwMVVXb0ZhZHhoalczQmQ2b051YTBsQ2sxdDVLVm16RlNmT0o1bmw4MGNzbG1iUHc0UkNYdmFwc3hJV29EMEJ4ZC13YUR5Sk5CLUk5M0lfYUxfVE1IWFBoaTNJZ0x1LThUZFNfVmFZZ2FrcVBXNWswekhUaGVzM2dkckZ2cUxwQ29EOGZLZF8tcGhOM3QwODJuVC1veXJRelh0TkdEX2ZZaEhjc3FQQ2RiVnVvS0U1Q1NEQzJpcGFveDkxcjFTZWU3dFp3ZmtPa2RoYXRfckRrZTFTb3dJbmluc2JSUzhHNmI1NWZFY1RFdUROLXcuOUtrM1YzM1lDR0NCcFQ5UXY0TkltUSIsImV4cCI6MTc2NTk4MDg5MSwiaWF0IjoxNzM0NDQ0ODkxfQ.xcuUk9Ca73gslNNGi_uK1IR-53or7aiAdmxjb8LgQeylqzx6tci6shO2KqymoI2hhGfrhx6Ge2ZSmnNLubnDIw"}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP M2Wdklyv9i2NHAJKxSl53Z' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJSWmgzVUl4QXhWVXdwZFNrSDc4MFpUSHY5NXMxeURvNzhtaFBZNFZmQ2NNIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6Ilp1YnZnSXRtRlVUNW9leXM2VGZIaUQiLCJqdGkiOiJZQnZlV1pRYk1rWE5QS2NjIn0.pBgDPHmvtBDlUgqoOz5Xwmkcupml5M5KMLqN8LkAO2BIDvf-9qjtLwj72sZBw_8dAbLGmSPJ3ZKq_SmSZw_pAQ' \
    -d '{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTEsIm5vbmNlIjoieTRIUTc5a0pTQkdQSzJXMlhrZ2pnUiJ9.2TREwRKx26jZ55DGr0sFOuZqcatONN9LCIRjPAIhsVPe4JfUV1KVA6bRsIMTWF-YKrfHwp6ZeuzvfIAA8YdLvQ","proof_type":"jwt"}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP M2Wdklyv9i2NHAJKxSl53Z
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2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uZUZUQkY0ckVNc3p3IiwiMTYiLHRydWVd~WyI0Q2dpYnVRVTRZOHE2empZWTZiOUxRIiwiMTgiLHRydWVd~WyI2RUNvbzg2YTljRHBkaVdMWXc2MGVBIiwiMjEiLHRydWVd~WyIyUFIzaUQ0am42eFlrc0t0Nl9COTdBIiwiNjUiLGZhbHNlXQ~WyJjWUhxUDZ5VTh6eHpRandkLUdDUmFnIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJ2bUJjdDV1LVU5eFA2ZE1UeTNVYWZRIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJzMV9TUVhPNkloWndHWnNxU2FBNkR3IiwiY291bnRyeSIsIkRFIl0~WyJRSFc3QXA5YkpQeDNzSXJqQno4ZkdBIiwicmVnaW9uIiwiIl0~WyJRcTVta1JSVmE0NGFVNDBqLXZoa05nIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyI3ZGFFWkY2cE9FdV9oaFdwWXVKYW9BIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"NOlQt9zlRChhT5uCAhLjDB","c_nonce_expires_in":3600}

Variant C', sdjwt, batch issuance

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:F3hJg4uHJh1809d0Ozr1WR","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AF3hJg4uHJh1809d0Ozr1WR' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AF3hJg4uHJh1809d0Ozr1WR HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=W98KscM32UcamuS1TXqK1C
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:51 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=W98KscM32UcamuS1TXqK1C' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=W98KscM32UcamuS1TXqK1C HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: R5T1iSOuMyg2lKf0wnGe5j
location: https://secure.redirect.com?code=Wt9u8uXHM2HQwazkePKben

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlI1VDFpU091TXlnMmxLZjB3bkdlNWoiLCJqdGkiOiJsbkNCQXNEdEp1ZEtlT3F6In0.6NxjWNzcVCUX0m2y3jj_KZ2Jss8JeaDYjcv2Q0ivaOEOnxmZ8J6qPKzvFpJmyYgprZ5FYHBAxMITVMnUuihgkg' \
    -d 'code=Wt9u8uXHM2HQwazkePKben&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlI1VDFpU091TXlnMmxLZjB3bkdlNWoiLCJqdGkiOiJsbkNCQXNEdEp1ZEtlT3F6In0.6NxjWNzcVCUX0m2y3jj_KZ2Jss8JeaDYjcv2Q0ivaOEOnxmZ8J6qPKzvFpJmyYgprZ5FYHBAxMITVMnUuihgkg
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=Wt9u8uXHM2HQwazkePKben&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: Uk3GJ5DsmyhaGfem1qrmtq
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"8m0M8bcCJ9ifoHkxbfEaB8","token_type":"DPoP","expires_in":3600,"c_nonce":"Q9cGBhuvYyVuchIomzmyow","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5WM0N6VEpUblZ1NWpxWThYLk9uZmI3dzFVMFFUd2dfbWNZMWQ2V3h4QlBCVE9vdTZWcF9KbGc0dWltOVdMejRfRG8wQi1BT3h2bW9XZWd1dkVTcDdFZXBxbmJJNGcxTnllRlFJUVRsendrQzd5MWxrNGdCZjBMdjF6ODlVUklaZzd0NkNVQ2ZoX0taVU91am5qOWV1S0ctcElWWUFsUFhwdnNBbjNnT3g1d2ZjQTQzcVhDVDJSS08zTEJfT3h1Z2FFU0ZsV1Q4cXl5U0hQbEpKUUZKZ1RxeVBTNEdkbUI5WUk0SVFaaDVqd2ExQ0l0ZGRkYjRsMzdnRXRwQkFkQXA3ZVlKUVVBODhrdmpGYzdVcW9zMnBUUVFqNlZ4SHpySFJHTVpoM3lJZnZldTduS2MzVVRWRGUzRHRUTUFZNzMzOEROY0g0U3FsdVRfbXBVSzd0T1pIUTNfTDRabGtFRWp1bGQ0VHZxbl9maENLMTJTMmhwR2Q1WWI3WERJTjBzRjhHNFEuNTZXZktKNlRzYWt5OG5qcUkwLUZqQSIsImV4cCI6MTc2NTk4MDg5MSwiaWF0IjoxNzM0NDQ0ODkxfQ.rOh2QJc7GW877tccEbEZ0p5n2doXE_pYhoHBRHDw886Er5fSPUNNX7Uf2bBBwNsBRAY0U1gEUVuZ1HiPXI3vaQ"}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP 8m0M8bcCJ9ifoHkxbfEaB8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJXUmFaajZscnlJOWFxMDVFV09ZUXpJSkRKYWNIVmJ2dUlfNTN2a3gwRHFnIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlVrM0dKNURzbXloYUdmZW0xcXJtdHEiLCJqdGkiOiJxVEQtQzUzUVZrcF94dUxrIn0.SmY1AO9gHCiebac_pKMHQSviiZw8XQAh78ZfN-4KTEMnbdDtlaQ8Kg1NY3e8q1Rj-EA-sSia2N7oGr8CFveDhQ' \
    -d '{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proofs":{"jwt":["eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTEsIm5vbmNlIjoiUTljR0JodXZZeVZ1Y2hJb216bXlvdyJ9.2KVXSlyUF5g0laMybASd2S95c51zcxyIoLg6LOlq0zs0WKgqL4QSOwMINw5W2tEzCdl9Cl78hiL7KaaZ2F7ZtA","eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTEsIm5vbmNlIjoiUTljR0JodXZZeVZ1Y2hJb216bXlvdyJ9.N1sBVaL0B4Tli-XUPZ2_wkCc27qvwMfX3Y-i0Qb1gLpPyDyylhv_y0BEqF-frVrJ02bdqxlQuZZrtDnK5mvRCg"]}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP 8m0M8bcCJ9ifoHkxbfEaB8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJXUmFaajZscnlJOWFxMDVFV09ZUXpJSkRKYWNIVmJ2dUlfNTN2a3gwRHFnIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlVrM0dKNURzbXloYUdmZW0xcXJtdHEiLCJqdGkiOiJxVEQtQzUzUVZrcF94dUxrIn0.SmY1AO9gHCiebac_pKMHQSviiZw8XQAh78ZfN-4KTEMnbdDtlaQ8Kg1NY3e8q1Rj-EA-sSia2N7oGr8CFveDhQ
Content-Length: 1278
Host: pidi.localhost.bdr.de:8080

{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proofs":{"jwt":["eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vc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Vd~WyJNdDc4VHBmdEN0TFJKeThWd3FfTEFBIiwiMjEiLHRydWVd~WyJQMWt4Y1hHU3BxVDJucHA1V2pUakF3IiwiNjUiLGZhbHNlXQ~WyJGTzRlSGhhZG9YSnJGN2tPa21OVE93IiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJtZFN3VTk2YWtjRUpJR2g5SERtRndnIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJfTE1hSEZ0OE9yVDBmZHpEUlBkMDZBIiwiY291bnRyeSIsIkRFIl0~WyJHb3JEdUZjeFcxMmtobS1Vd2F3ZjdnIiwicmVnaW9uIiwiIl0~WyJiN2EwZkdUZ3pkZVJlaTlraXNxZXR3IiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJ4U0poV3A4aHRkVUs2YkQxS21vNlhBIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~"],"c_nonce":"BuEgrrmicMU5xlHxIbPBew","c_nonce_expires_in":3600}

Variant C', sdjwt, issuance by refresh-token

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:bHCy5zhy4D4XTrNOZItYKE","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AbHCy5zhy4D4XTrNOZItYKE' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AbHCy5zhy4D4XTrNOZItYKE HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=6Wh0SbPQnciOPXe1rYjEuf
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:53 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=6Wh0SbPQnciOPXe1rYjEuf' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=6Wh0SbPQnciOPXe1rYjEuf HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: CJs7roYNtMgaMuTYfYhe2P
location: https://secure.redirect.com?code=yp4BumZVX2XI6dnG0bTp2v

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkzLCJub25jZSI6IkNKczdyb1lOdE1nYU11VFlmWWhlMlAiLCJqdGkiOiI5bDNrYjZEeVdhazhGZEhjIn0.pL0jdpVtyCcPwWDWVMxkr91hPiFZPTsYB6eEzlwb1wrN-d2jZ__9ldFE7noFgbyEh96r2zRrWr2pjBz_vbYnOg' \
    -d 'code=yp4BumZVX2XI6dnG0bTp2v&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkzLCJub25jZSI6IkNKczdyb1lOdE1nYU11VFlmWWhlMlAiLCJqdGkiOiI5bDNrYjZEeVdhazhGZEhjIn0.pL0jdpVtyCcPwWDWVMxkr91hPiFZPTsYB6eEzlwb1wrN-d2jZ__9ldFE7noFgbyEh96r2zRrWr2pjBz_vbYnOg
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=yp4BumZVX2XI6dnG0bTp2v&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: Y5sR8G5qaK1osFvF0UmREU
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"x9aTVEkEpGKKTVBVWyhH4I","token_type":"DPoP","expires_in":3600,"c_nonce":"4kHjE2ErQfqSFvA70XitxY","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5lWXM2bXpCVW5OTXJmU3FyLmdrei0wN1dXWnZxUTV1YWNVTU5EcFFETVVzWnRORzJ6X2lsOWVSN3gtY1FtRm9xNmJfbDFoVkVpX1dkMGM4N01RWm43c041QmZfUzhOWTZzN29HVHZ2Yl8yVWQyNkJaa2ZxanBPbDVfVkkyM1VmZmdLWVp0MEZ6VFlKcHJOZDVpeUtlWGpobG5tbHlfaDdGUVJfTzVqM1JQa3BNODhvZk10ZXFLZUJuZzhoTHdKeXVRc0VDcHpEci1kNWNxek5vZUY5dWF3VmdEWUs5VUg3ZWFvNWM4aGFhWHBLYkcwVFN3Sk9BQTVMUGdLTVlmd1NiOWY1R19CZThmZGtWN2RjSDUwN3h4S3Q2S2U2QTlnTmtyMUtXVXh0eFJWc21IOGNJb0dhR1owRzdZZjdOZkpTNS1ZRDlHazlqai1QbDIzdVVGX1NfM1VvV25xS21OajlHUGY4dVN4VDVERXlMZklRQTFJQmxfWGx1WmF6QXc5TE1leEEua1JMZTFqclVRNXpmQVVhUHNPNU5BQSIsImV4cCI6MTc2NTk4MDg5MywiaWF0IjoxNzM0NDQ0ODkzfQ.5M1fo9WagfYWRxADAw_mP0YXDucuNa_DY1vKgFaUhTWXVH9ONkfYoxIy3Jmu_BmUBTtYjCoM-saShZRy68gspA"}

Refresh Token Initialization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU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tMjU2Iiwia2lkIjoiMzJkcmpDbDRDYnhDY21ZS29kTFdydSIsIngiOiJBcGhDNWhZaFdaaHNDdEtKOXd4N0tLNDZHZ3ZpQkhDWE5mcC1DSnRhSFVBIiwieSI6Im5kS1Q3VTBHQ2hncC1MLUxkOFd2RlluR0hITDJwYUZBLXdBX1VYT1lMOEUiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTMsImV4cCI6MTczNDQ0NDkyMywiaWF0IjoxNzM0NDQ0ODkzLCJqdGkiOiJ0ZXN0In0.tmIfIQydRSm6hZ2dNv926Vag3nQISVPv1qSbfmE64PQ4JIusfYyULhaO67aj-esZJt38U1MW6-mIMnI8UcDwcw&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkzLCJqdGkiOiI1QUFZVks4YlFsZmhnTzlUIn0.cGH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NDkyMywiaWF0IjoxNzM0NDQ0ODkzLCJqdGkiOiJ0ZXN0In0.tmIfIQydRSm6hZ2dNv926Vag3nQISVPv1qSbfmE64PQ4JIusfYyULhaO67aj-esZJt38U1MW6-mIMnI8UcDwcw&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 400 Bad Request
connection: close
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: rc2kRRQC72AsL3r47A5GFA
transfer-encoding: chunked
Content-Length: 68

{"error":"use_dpop_nonce","error_description":"nonce value missing"}

Refresh Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkzLCJub25jZSI6InJjMmtSUlFDNzJBc0wzcjQ3QTVHRkEiLCJqdGkiOiJJTEllT0p5TUhva2lENzJUIn0.FAm4YzzhkZiFyEFLvJd1qcqpXbBywsUWA5ERrTOOBMErL0RV2o-JzZ_1y3lVwFN0g6hUFpl3VpjaYQ40mdOqnA' \
    -d 'refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI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

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkzLCJub25jZSI6InJjMmtSUlFDNzJBc0wzcjQ3QTVHRkEiLCJqdGkiOiJJTEllT0p5TUhva2lENzJUIn0.FAm4YzzhkZiFyEFLvJd1qcqpXbBywsUWA5ERrTOOBMErL0RV2o-JzZ_1y3lVwFN0g6hUFpl3VpjaYQ40mdOqnA
Content-Length: 3309
Host: pidi.localhost.bdr.de:8080

refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJw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B0_Pan1b8kJU0GkfQTCUJzmu0qLxzJshO8_qnHEEIcsGpKqt7iY0tjxZzswsX6HbKQKACtQKgvpBwFqNP0sK6NNf2y3hGDZ9r5A%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiMzJkcmpDbDRDYnhDY21ZS29kTFdydSIsIngiOiJBcGhDNWhZaFdaaHNDdEtKOXd4N0tLNDZHZ3ZpQkhDWE5mcC1DSnRhSFVBIiwieSI6Im5kS1Q3VTBHQ2hncC1MLUxkOFd2RlluR0hITDJwYUZBLXdBX1VYT1lMOEUiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTMsImV4cCI6MTczNDQ0NDkyMywiaWF0IjoxNzM0NDQ0ODkzLCJqdGkiOiJ0ZXN0In0.UUIyxWiKPwP39VatqLWad7F23qDHjUimLwRwLUk-UDRzbPUgtqcJLuvE1MwUpKS5YdeFiE8TlBo4catATLBJJg&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: zUdaOnie5XhfUaA5IyEQHS
transfer-encoding: chunked
Content-Length: 140

{"access_token":"ZOCxZygs40qIpuEzU4UDCZ","token_type":"DPoP","expires_in":3600,"c_nonce":"XVi1fLPCONBJFjzjiSH4hv","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP ZOCxZygs40qIpu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i1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTMsIm5vbmNlIjoiWFZpMWZMUENPTkJKRmp6amlTSDRodiJ9.rkU-mLJUMOf97TamRH_V5Mzk-AVLRe4rexF4fHcUwwyO9GNQ-L4cw7lsJN1-KWYraZXGuptX3mu7zxd6O1aLwA","proof_type":"jwt"}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP ZOCxZygs40qIpuEzU4UDCZ
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJJTjJSNC1OY0hIZ0pRVGp4U2ZQSGpQNTNZMkhwWTNDRERBUE1oZDd1WHJRIiwiaWF0IjoxNzM0NDQ0ODkzLCJub25jZSI6InpVZGFPbmllNVhoZlVhQTVJeUVRSFMiLCJqdGkiOiIwZVh6Ty1OcDd0UEoxd1B0In0.hgCjMZBzoGQV05RqW4WeLOIT5GYzmt0elM-wwsvMugRE6JI6ZWv7TMj6OH4qJX6vhV_PCNsipNX_zXYHRkmQlg
Content-Length: 703
Host: pidi.localhost.bdr.de:8080

{"format":"vc+sd-jwt","vct":"https://example.bmi.bund.de/credential/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTMsIm5vbmNlIjoiWFZpMWZMUENPTkJKRmp6amlTSDRodiJ9.rkU-mLJUMOf97TamRH_V5Mzk-AVLRe4rexF4fHcUwwyO9GNQ-L4cw7lsJN1-KWYraZXGuptX3mu7zxd6O1aLwA","proof_type":"jwt"}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 4609

{"credential":"eyJ4NWMiOlsiTUlJQ2FUQ0NBZytnQXdJQkFnSVVTaHl4Y0laR2lQVjN3QlJwNFlPbE5wMUkxM1l3Q2dZSUtvWkl6ajBFQXdJd2dZa3hDekFKQmdOVkJBWVRBa1JGTVE4d0RRWURWUVFJREFaaVpISXVaR1V4RHpBTkJnTlZCQWNNQmtKbGNteHBiakVNTUFvR0ExVUVDZ3dEUWtSU01ROHdEUVlEVlFRTERBWk5ZWFZ5WlhJeEhUQWJCZ05WQkFNTUZHbHpjM1ZoYm1ObExYUmxjM1F1WW1SeUxtUmxNUm93R0FZSktvWklodmNOQVFrQkZndDBaWE4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c3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"8GRbCbjucwXdthe0TdoyWW","c_nonce_expires_in":3600}

Variant C', mdoc

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:zfN6h0X7ykVnSIANXnFATH","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AzfN6h0X7ykVnSIANXnFATH' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AzfN6h0X7ykVnSIANXnFATH HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=eGO67yBO14t4ljvMFXEDnv
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:52 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=eGO67yBO14t4ljvMFXEDnv' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=eGO67yBO14t4ljvMFXEDnv HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: iajixCNRGRafUrw8YToAWr
location: https://secure.redirect.com?code=kDUnCmScI5xihO6TmceggI

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6Imlhaml4Q05SR1JhZlVydzhZVG9BV3IiLCJqdGkiOiI5RWg4TkpYMjJjSlhfYTJZIn0.Hh4uGJJF4M_1O78KQbEGtXY4PID_mXMNsbcWtC0z2_P3A0TF038LR84xhKtJ3dHkwV_pM3vvRh8WWO1O-fcHKQ' \
    -d 'code=kDUnCmScI5xihO6TmceggI&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6Imlhaml4Q05SR1JhZlVydzhZVG9BV3IiLCJqdGkiOiI5RWg4TkpYMjJjSlhfYTJZIn0.Hh4uGJJF4M_1O78KQbEGtXY4PID_mXMNsbcWtC0z2_P3A0TF038LR84xhKtJ3dHkwV_pM3vvRh8WWO1O-fcHKQ
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=kDUnCmScI5xihO6TmceggI&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: Y6LaYviVsH4J7glHsiq9af
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"DpydvMUwwUUsh71g6HC0u0","token_type":"DPoP","expires_in":3600,"c_nonce":"5DBOcEK6pmVvGULMxzosy6","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5qcS1vX01Hekw3RVpwdVJlLll4TEpwVHBqOTl1WXl6bHZxbEc2Wk9EYm1CdjdrOFVKa2otOEktUElIcDFTeS1JRkxZa3k2RnJHdWd1QzVWWTRfQlA4U283WTJDOVV1VjU0SHBxX2NKNmc1YkYyd2JVSHpQZmRDbVFrYjV2M1hNX0NLMDFfcHRER21COXo1WlZMdEtjczNYMEltSndWZUhVOXBSZVlYV0duczlXNXZ5cUpsbWNBUHBsOE5vd1BSZG5YZVlvdV9GMG9hQzhOVDAtY0M4bmVFbXZ0T0xwRE1yV3NZaHZaZ0hjSHJUeFF6UDJXb0lidjBNbmJTU1EySk1zQld5Tmg2U0lxbnI1XzNmaXZ3Z0R2RWFrWTI3TENEc3R2NG9BaTRNbjhoZThWZFNhajJNaHhHblJjZzBNUURDQWNEREVSVld6amNBbURSSWVMYXhwZ2M4U3pDYlE2SHVDbXNhTERvcE00MElWeVBrd2thd1hTdlBWZWZjUnNad1AyLVEuTmExeXRkZzdKNFdPUHJldUI2LTRQUSIsImV4cCI6MTc2NTk4MDg5MiwiaWF0IjoxNzM0NDQ0ODkyfQ.cA15_hO_Q6harJMlCDrWTk5hTpQhDqmzbqdZ0t7kuR7oJnMCtLOYIesT7dW6u72ccV-Lv45j9Mrw65YnVJHcgQ"}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP DpydvMUwwUUsh71g6HC0u0' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiIteGhrdTBRSkU1dFVVZm1qUGQ5M3FuMnJlMWliRjlHc0I2Z3A0VW4xb284IiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6Ilk2TGFZdmlWc0g0SjdnbEhzaXE5YWYiLCJqdGkiOiJNb1RBMDFfS3JPc3pYRDhHIn0.Oho8MdeDeghyYwYiT5M0p8ll57hAzBntA4GOYiEMXQ_cU1ECwNP_q4h2kQo1thLFxelGxfj7Ict1I5M-RxzXEw' \
    -d '{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTIsIm5vbmNlIjoiNURCT2NFSzZwbVZ2R1VMTXh6b3N5NiJ9.B1aMekgp_PCk4PSsr5hE4AAC94l6PdmkMlBcdIH9WlMhTD9ClRyxSDRir71PurDnyNqx1u8QGzL8QmO_TN62YQ","proof_type":"jwt"}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP DpydvMUwwUUsh71g6HC0u0
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYT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5hE4AAC94l6PdmkMlBcdIH9WlMhTD9ClRyxSDRir71PurDnyNqx1u8QGzL8QmO_TN62YQ","proof_type":"jwt"}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 5350

{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EBTADAQH_MAoGCCqGSM49BAMCA0gAMEUCIC7aHnG6VdF5vkiGCmRiJhHUE41O2yNPud_NACEvghI5AiEArqMrDB_p9NNJnC8lQ4C7t3PUPL8OYfX0t5_TOpo02G1ZBGbYGFkEYaZnZG9jVHlwZXdldS5ldXJvcGEuZWMuZXVkaS5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VtZW50VmFsdWX0cWVsZW1lbnRJZGVudGlmaWVya2FnZV9vdmVyXzY1","c_nonce":"Y918lj5AaH2TKW2YEeaYfW","c_nonce_expires_in":3600}

Variant C', mdoc, batch issuance

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:xhA1TE82cvnfdmQ0fslJPl","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AxhA1TE82cvnfdmQ0fslJPl' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3AxhA1TE82cvnfdmQ0fslJPl HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=J0bhjlwV0aTh9dT3siIc5x
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:51 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=J0bhjlwV0aTh9dT3siIc5x' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=J0bhjlwV0aTh9dT3siIc5x HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: ThS1CC4fwJSJgbzxmYMjsn
location: https://secure.redirect.com?code=smJPU7jXP0PkwQMDtuBgdQ

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlRoUzFDQzRmd0pTSmdienhtWU1qc24iLCJqdGkiOiJSbG9GVjlLTHE2bVEtRUxfIn0.W6atohyNSu2RpegqDY9cfn5Ckto4eST1S7BDF5ZCpHlui3BPkSaO3fA80ThJgXJ1ZmdG11-ZERDpjSGl4cQeBA' \
    -d 'code=smJPU7jXP0PkwQMDtuBgdQ&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6IlRoUzFDQzRmd0pTSmdienhtWU1qc24iLCJqdGkiOiJSbG9GVjlLTHE2bVEtRUxfIn0.W6atohyNSu2RpegqDY9cfn5Ckto4eST1S7BDF5ZCpHlui3BPkSaO3fA80ThJgXJ1ZmdG11-ZERDpjSGl4cQeBA
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=smJPU7jXP0PkwQMDtuBgdQ&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
dpop-nonce: d8cx4gxWKlF0fP2C1UcvV1
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"k7FPossv2bI4IamuOkw0AY","token_type":"DPoP","expires_in":3600,"c_nonce":"l5Uox5iIQ0S4vJaJnYLb9Y","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi4tTEU5Z3pWRjBDZmFRVUVELjhONGJ4QV9adlA1b0YtM29TdU1rRkVuNENnMnJBWk91X1dTbGprRWNFR3RMT3BVUG1nc3NtdmNBamJGRGNfczc5eUEtNXhSSWJzQ3hyNG9yVm5ZTDV6LUwtdnhOaWxCeGhXbTdFNjU0b0RkdmoweE9oQXQwSzd6U0R0cnZ5T2JBYmlOWGJXbUlOQW1KU1Q5dGVEOXhyYk05TWdhZS1aV0ctVzNWTzRoYldPdjFWV2p5a2drR00yczB1VGRHOGxka3hJcDI5VG1fSFQtRklfYV8tQThsRjN5dXh6ZGhXeHBKTEFsYW5GU2ZGUzNjOGprUENwdEpZbjRnX25ISkNuYUlxbzFISmQzRmNNdS1KWklBSnczMkVFUXBndGFDeDhvX1ZNeW44ZFhIWFNDNElGRHdla0F6S2JjOGRDQV9OemRiZC1HeDFWLUhLMWhsS0RJc04ybjJBOFNBR0hUWGJhaXVDdm1vWjVILVBGS2hUcXBuYXcuckljVHBFLVN1cF8zU3BrRFJnaXEzZyIsImV4cCI6MTc2NTk4MDg5MSwiaWF0IjoxNzM0NDQ0ODkxfQ.rC-0p3wB0MGRzn4GqvDDSY-HBQ2AugKn4O2-1-N6JuaUr0BIrp3s8Vq6EsYj5CQ8GczEB8wgPRpMQJFoUbKY0w"}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP k7FPossv2bI4IamuOkw0AY' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJmdDNCYUtjMFprc0RucndNN0FjeWQ1aFY4eEFzb1hjaVBTejlseG5XbkEwIiwiaWF0IjoxNzM0NDQ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RXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTEsIm5vbmNlIjoibDVVb3g1aUlRMFM0dkphSm5ZTGI5WSJ9.ZtvsfSpOmWYfyAIBNyYXCyQYST2CEvpJ6BTDQTF3_tnh6XaqQADQNNZmarEwXoy-C2N1DQa-nazwd7ff2sPuxA"]}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP k7FPossv2bI4IamuOkw0AY
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJmdDNCYUtjMFprc0RucndNN0FjeWQ1aFY4eEFzb1hjaVBTejlseG5XbkEwIiwiaWF0IjoxNzM0NDQ0ODkxLCJub25jZSI6ImQ4Y3g0Z3hXS2xGMGZQMkMxVWN2VjEiLCJqdGkiOiJlOGd5MDJ6MmZIeTh5S1plIn0.S7mCJ0VRzX1SHKs-0YFsQqoJkETGl42RkdQu1GUAGexiTA6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OGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTEsIm5vbmNlIjoibDVVb3g1aUlRMFM0dkphSm5ZTGI5WSJ9.ZtvsfSpOmWYfyAIBNyYXCyQYST2CEvpJ6BTDQTF3_tnh6XaqQADQNNZmarEwXoy-C2N1DQa-nazwd7ff2sPuxA"]}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:51 GMT
transfer-encoding: chunked
Content-Length: 10628

{"credentials":["omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EB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MRVJxZWxlbWVudElkZW50aWZpZXJxZmFtaWx5X25hbWVfYmlydGjYGFhRpGZyYW5kb21QLNigkOUwlYb1goQF9mtz0GhkaWdlc3RJRBZsZWxlbWVudFZhbHVlYkRFcWVsZW1lbnRJZGVudGlmaWVya25hdGlvbmFsaXR5"],"c_nonce":"62rDV0eWzFrZH2ImWhYGEC","c_nonce_expires_in":3600}

Variant C', mdoc, issuance by refresh-token

PAR

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/par' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1' \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/par HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Content-Length: 208
Host: pidi.localhost.bdr.de:8080

scope=pid&response_type=code&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_challenge=VPvsxc7h-NOKbZX9pKqzgLdc3-3VL_U8B4cKRt6r2xE&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 201 Created
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 90

{"request_uri":"urn:ietf:params:oauth:request_uri:y5ssmdMyGrRKDHLb9DWWHH","expires_in":60}

Authorization (eID)

Caution
This is a request to the eID client, e.g. AusweisApp. The port is 24727 by default.

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:24727/eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Ay5ssmdMyGrRKDHLb9DWWHH' -i -X GET \
    -H 'Accept: */*'

Request:

GET /eID-Client?tcTokenURL=http%3A%2F%2Fpidi.localhost.bdr.de%3A8080%2Fc1%2Fauthorize%3Fclient_id%3Dfed79862-af36-4fee-8e64-89e3c91091ed%26request_uri%3Durn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Ay5ssmdMyGrRKDHLb9DWWHH HTTP/1.1
Accept: */*
Host: pidi.localhost.bdr.de:24727

Response:

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
location: http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=srfJCxZw0dRWJ1BT3Yh98b
Content-Type: text/plain
Date: Tue, 17 Dec 2024 14:14:52 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Finish authorization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/finish-authorization?issuer_state=srfJCxZw0dRWJ1BT3Yh98b' -i -X GET

Request:

GET /c1/finish-authorization?issuer_state=srfJCxZw0dRWJ1BT3Yh98b HTTP/1.1
Host: pidi.localhost.bdr.de:8080

Response:

HTTP/1.1 302 Found
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: KcQ93IcWl42wy3yRKgiYW1
location: https://secure.redirect.com?code=eChQhNIKSmIXP3XvemQd26

Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6IktjUTkzSWNXbDQyd3kzeVJLZ2lZVzEiLCJqdGkiOiJBcEtIRWtCTWRlc2d3UzUyIn0.RrCLWPK3wyRbtTdgWjqOcE64ZJgqtHhjquywtPe5gpQ-ffRDhbWl0IHVJsvnu-iq3AhYpO6082DwGLiXWsI-Ag' \
    -d 'code=eChQhNIKSmIXP3XvemQd26&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6IktjUTkzSWNXbDQyd3kzeVJLZ2lZVzEiLCJqdGkiOiJBcEtIRWtCTWRlc2d3UzUyIn0.RrCLWPK3wyRbtTdgWjqOcE64ZJgqtHhjquywtPe5gpQ-ffRDhbWl0IHVJsvnu-iq3AhYpO6082DwGLiXWsI-Ag
Content-Length: 171
Host: pidi.localhost.bdr.de:8080

code=eChQhNIKSmIXP3XvemQd26&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fsecure.redirect.com&code_verifier=ABCDEFGHIJklmnopqrstUVWXYZ-._%7E0123456789-50Zeichen

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: JLRGAXFf9ZSR37W5vEI8ef
transfer-encoding: chunked
Content-Length: 1336

{"access_token":"H8YP8cnnowMdYLbVYJpwbs","token_type":"DPoP","expires_in":3600,"c_nonce":"CG2AaGJlIzXoUTR8A04J70","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5oVlAwVFlwaE5ZYmpzQy1zLnhSaFZXWHJheHJ0aGpZd0R6ZktvLWZUWXkyYTNSMXh0QmM0Wlg3U01XN2wtQlEzdW1DSncwNTlxLThUTnM1R002N3BlUkhhS3pzR1RkMDNSNTJzSUdXNThGNXI0ZENjTzJmelhnVkFVb2NIMzlHeTZmYU9NVlg1MkJVdTRGUDNxeFZWdXNmY1c2b3VqUzl5ODVxQjd2ZXoxQzJ3QWhJZ3BkUzdsMGhnTmM3aXpvcmIxY192cHNlRDBIUHlxbW9uMnRMQUh2UEg5SE1jc1c3eEp2OXdnTnlGWWlyMmtsenVSOFVMVWpIdkRwaUkwT2pUYmNVUU05S2s2WENhVjZvTEU5YThKMHcya0xOQnkxd2pLd3hDUm44a01uR2s0UWFwc09KN3BOMWgwMnBFa19DTXY2WUphNFJ3OGNMLWVKeFk1WE9KZTg0TXoxOTB4Q2JrNGJjeWFjTTlNSU1XQVpSLURWRXBPeDFHdlEza2RWZ0NkNWcuWGR4WXJnWWFua3JyeFBSLTUxU1lKZyIsImV4cCI6MTc2NTk4MDg5MiwiaWF0IjoxNzM0NDQ0ODkyfQ.o5c-2l8uZGeSyic1ze0b3OZgoyeAfVYYKU8J2-N5otieU9gWxPdIH_ffDi1Xh4v1glSLVHyGHewWWepMdaIhtw"}

Refresh Token Initialization

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4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QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTIsImV4cCI6MTczNDQ0NDkyMiwiaWF0IjoxNzM0NDQ0ODkyLCJqdGkiOiJ0ZXN0In0.C-_qU4ECK5n4T6F7VKwv_QsX3dpvayJCN-cBAICm_kvNLWYd67XVcZbuQ1h2mHlGYEyJGundbuXXIRwtkrzTMg&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJqdGkiOiJOcXhaRlI5ejhQeHRlcnA3In0.1Vmfa4xySRPCs8ZnZ2ihBnUwfVRYp8BTTI5iBxTJ15AqvRVbNQPVQDVXKnRyZF-Fdj71m-zOdJwdUP-zL3BHag
Content-Length: 3309
Host: pidi.localhost.bdr.de:8080

refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJ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c-qgMQ5012HD3ybgFeYaKRQg9y5bJs5UPhAo2NpmaPNPF06M_u_f5WBMb5AgGP-qBHBOecnYWbe-I2Bm0UiDvNyVqsW8ctgSB-5LVp2c2cqKsOKp90RlavTAPxvRZ05gyb0KY45MVojXXBz6FMwfnSCxJ9TCu93L8T-NGIRKtVnL7rtN33CItTi971vGP2O13K6tbJZU0eqaTjrwKh9dyJI7QRdqZoQ1-CXl5PgBCH0Mxerh638aF2COyZGLQViRck4oKT8O-qpDCjXkHSJehWOuodwXV6kXt5-a3MTBKsURzqbCQ%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiMzJkcmpDbDRDYnhDY21ZS29kTFdydSIsIngiOiJBcGhDNWhZaFdaaHNDdEtKOXd4N0tLNDZHZ3ZpQkhDWE5mcC1DSnRhSFVBIiwieSI6Im5kS1Q3VTBHQ2hncC1MLUxkOFd2RlluR0hITDJwYUZBLXdBX1VYT1lMOEUiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTIsImV4cCI6MTczNDQ0NDkyMiwiaWF0IjoxNzM0NDQ0ODkyLCJqdGkiOiJ0ZXN0In0.C-_qU4ECK5n4T6F7VKwv_QsX3dpvayJCN-cBAICm_kvNLWYd67XVcZbuQ1h2mHlGYEyJGundbuXXIRwtkrzTMg&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 400 Bad Request
connection: close
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: MZggEojV4Y4UNYKKvNg3g8
transfer-encoding: chunked
Content-Length: 68

{"error":"use_dpop_nonce","error_description":"nonce value missing"}

Refresh Token

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/token' -i -X POST \
    -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
    -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6Ik1aZ2dFb2pWNFk0VU5ZS0t2TmczZzgiLCJqdGkiOiJ1TVdOZ09PZnJNbkdMWFk0In0.F3-dtTJ93N51rTRaXzw1Q5JfLWP24k2JmDYsvG6hjNPKHZxrChwA3fzbxZjaUIucHTrqWS1Gu6T_XAyP-NjSJA' \
    -d 'refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMM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yw8C9l7w6UDcRz_mVw4eRUSYu4RX_LHQ9M8Jqzq7Rb0Q_LtM_A_bCFQqUKcVCHOuEi3XGNNSqxKm1qdvMCI0GAfdk8cUslgnz13Gbj3CdDiSR5yhfWlsuWoPQ0nlzNkJDR_9-532FxJ0ZUQERQw%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiMzJkcmpDbDRDYnhDY21ZS29kTFdydSIsIngiOiJBcGhDNWhZaFdaaHNDdEtKOXd4N0tLNDZHZ3ZpQkhDWE5mcC1DSnRhSFVBIiwieSI6Im5kS1Q3VTBHQ2hncC1MLUxkOFd2RlluR0hITDJwYUZBLXdBX1VYT1lMOEUiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTIsImV4cCI6MTczNDQ0NDkyMiwiaWF0IjoxNzM0NDQ0ODkyLCJqdGkiOiJ0ZXN0In0.n5mn2kPmJSFhnSJt5jMBF9gXZAefMXupNVflzKUt2I28Pq5fD-mTC4FP1DiupxLDFG9OdF3lkeUW2Vch7FAj0Q&client_id=fed79862-af36-4fee-8e64-89e3c91091ed'

Request:

POST /c1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded; charset=utf-8
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwL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DdEtKOXd4N0tLNDZHZ3ZpQkhDWE5mcC1DSnRhSFVBIiwieSI6Im5kS1Q3VTBHQ2hncC1MLUxkOFd2RlluR0hITDJwYUZBLXdBX1VYT1lMOEUiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3MzQ0NDQ4OTIsImV4cCI6MTczNDQ0NDkyMiwiaWF0IjoxNzM0NDQ0ODkyLCJqdGkiOiJ0ZXN0In0.n5mn2kPmJSFhnSJt5jMBF9gXZAefMXupNVflzKUt2I28Pq5fD-mTC4FP1DiupxLDFG9OdF3lkeUW2Vch7FAj0Q&client_id=fed79862-af36-4fee-8e64-89e3c91091ed

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
dpop-nonce: kMv4D9F0UUpCCfCJlc3qyf
transfer-encoding: chunked
Content-Length: 140

{"access_token":"T2ugARtsFbeBbZIkseXP44","token_type":"DPoP","expires_in":3600,"c_nonce":"ZjHgUfGNCuLKFy2DEp5kkN","c_nonce_expires_in":3600}

Credential

Call with curl:

$ curl 'http://pidi.localhost.bdr.de:8080/c1/credential' -i -X POST \
    -H 'Content-Type: application/json;charset=utf-8' \
    -H 'Content-Type: application/json; charset=utf-8' \
    -H 'Authorization: DPoP T2ugARtsFbeBbZIkseXP44' \
    -H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4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w","proof_type":"jwt"}}'

Request:

POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP T2ugARtsFbeBbZIkseXP44
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzMmRyakNsNENieENjbVlLb2RMV3J1IiwieCI6IkFwaEM1aFloV1poc0N0S0o5d3g3S0s0NkdndmlCSENYTmZwLUNKdGFIVUEiLCJ5IjoibmRLVDdVMEdDaGdwLUwtTGQ4V3ZGWW5HSEhMMnBhRkEtd0FfVVhPWUw4RSIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJ2bThLY09RT1cwSjJTRXRJTExEMGZkd2JjUDVaVW9vMGRhamZrNFZXSDNVIiwiaWF0IjoxNzM0NDQ0ODkyLCJub25jZSI6ImtNdjREOUYwVVVwQ0NmQ0psYzNxeWYiLCJqdGkiOiIxd3VIdnBpSUtxMURsdHNZIn0.Ht5VPCRUPVwzMdZBKiUv7X-PI-6j6UsLUPtlbFbuMOWjiVENQ3YP2JJHqhGp3TuurMGRrxk0iUpiUNi6bY_AiQ
Content-Length: 683
Host: pidi.localhost.bdr.de:8080

{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiIzbjVlVllkN3N2NmVZc1FPTDhURWhTIiwieCI6IkpsejVUOF9CbHZ5SjJ5SktoVkhuSXpDZG9RZnFJZDRsRnVaQXRlQ2NORGsiLCJ5IjoiT2ZWRXZBRS1RVENocDJuR3lMV1hhVUZxTnFSblViSkFDeEFDU3VyZ0N6byIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3MzQ0NDQ4OTIsIm5vbmNlIjoiWmpIZ1VmR05DdUxLRnkyREVwNWtrTiJ9.3OOg--iqfnc1zsur3BW-_L7k3Dg0OGUt-8ymTWuU5Jxl2_TUKFhkgzfyFjpZKd_xTlVc8ZuTKH-qu-lV4pWnLw","proof_type":"jwt"}}

Response:

HTTP/1.1 200 OK
content-type: application/json
date: Tue, 17 Dec 2024 14:14:52 GMT
transfer-encoding: chunked
Content-Length: 5350

{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJ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