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: Mon, 31 Mar 2025 07:59:33 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:PQCl5WABrtAKm1Boy44SoR","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://localhost: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%3APQCl5WABrtAKm1Boy44SoR' -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%3APQCl5WABrtAKm1Boy44SoR HTTP/1.1
Accept: */*
Host: localhost: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=4LHOmaNMPHVNxWjiG2PaNg
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:33 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=4LHOmaNMPHVNxWjiG2PaNg' -i -X GET
Request:
GET /c/finish-authorization?issuer_state=4LHOmaNMPHVNxWjiG2PaNg HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:33 GMT
dpop-nonce: FkzC7CpICsEVMFNkV5UUPN
location: https://secure.redirect.com?code=6G2Ed8UslRFaP6s7e7I25k
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiRmt6QzdDcElDc0VWTUZOa1Y1VVVQTiIsImp0aSI6ImN2bnowaDhCZVQ1R2NTeE8ifQ.KfXHBRcSCU8mc9l2vMVlTJ7IoZZXxA8F-f4clkPK5zG9i3hXmQ_wf1O_1Uv8V72ARdGve2uyTBW_KNKpuKmxoA' \
-d 'code=6G2Ed8UslRFaP6s7e7I25k&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiRmt6QzdDcElDc0VWTUZOa1Y1VVVQTiIsImp0aSI6ImN2bnowaDhCZVQ1R2NTeE8ifQ.KfXHBRcSCU8mc9l2vMVlTJ7IoZZXxA8F-f4clkPK5zG9i3hXmQ_wf1O_1Uv8V72ARdGve2uyTBW_KNKpuKmxoA
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=6G2Ed8UslRFaP6s7e7I25k&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: Mon, 31 Mar 2025 07:59:33 GMT
dpop-nonce: OiKCuNRFGZ2857wi5LeKf0
transfer-encoding: chunked
Content-Length: 140
{"access_token":"xGM9X95pF4jpPJ72b0zzJ0","token_type":"DPoP","expires_in":3600,"c_nonce":"45nso64MdMqzPjkIQy99Oe","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 xGM9X95pF4jpPJ72b0zzJ0' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6Ik1zN1R6bDJIMUMtblBndDlwSmpFMDBzbUUyUnJJZlpRSlhGVmRQdWx6WGsiLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiT2lLQ3VOUkZHWjI4NTd3aTVMZUtmMCIsImp0aSI6InhaTWt6Z3VIb1RfUFN5MG0ifQ.p9TM7Z4DmgTBYfSAHanZ_GJPK_Hr-FiPJTnb1VzhV8nHPMI81u4M-3OKU0LwvUi0Z2OyDUNPgjnIqtughXA0cg' \
-d '{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Mywibm9uY2UiOiI0NW5zbzY0TWRNcXpQamtJUXk5OU9lIn0.GngxMf2EJ17YTTrD_G7l38NjSCUGkAN3zv2itF5JofiL0_NfYTb-rJH7Ni2pB_Q480aYkBO-Zly9ZstNrEjY0Q","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 xGM9X95pF4jpPJ72b0zzJ0
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6Ik1zN1R6bDJIMUMtblBndDlwSmpFMDBzbUUyUnJJZlpRSlhGVmRQdWx6WGsiLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiT2lLQ3VOUkZHWjI4NTd3aTVMZUtmMCIsImp0aSI6InhaTWt6Z3VIb1RfUFN5MG0ifQ.p9TM7Z4DmgTBYfSAHanZ_GJPK_Hr-FiPJTnb1VzhV8nHPMI81u4M-3OKU0LwvUi0Z2OyDUNPgjnIqtughXA0cg
Content-Length: 709
Host: pidi.localhost.bdr.de:8080
{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Mywibm9uY2UiOiI0NW5zbzY0TWRNcXpQamtJUXk5OU9lIn0.GngxMf2EJ17YTTrD_G7l38NjSCUGkAN3zv2itF5JofiL0_NfYTb-rJH7Ni2pB_Q480aYkBO-Zly9ZstNrEjY0Q","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59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hVMXdMOWpMcU5TQ3FySzdnIiwiMjEiLHRydWVd~WyJwZzUwSDRYTEVKWWp5OFJqRWFKdGtBIiwiNjUiLGZhbHNlXQ~WyJjUXlMdFJSZkRzX3ZNbXVyeUNLTTdRIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJZVmlaRlFaWW9FcE81U29PaVgybkdBIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyI1ajlKNWs1TlI0eTRiZFh4eUZoTTRBIiwiY291bnRyeSIsIkRFIl0~WyJYRmhSVjB6am51Vmg5Rlc1T2t3YldRIiwicmVnaW9uIiwiIl0~WyJwSE1zcGtHTXZpazJUeGdMc3k4UVd3IiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJWOXNGX1dmQktsWHNXcHI0azE1SVF3Iiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"rLueSPLIRSYCcRqEN85Jq0","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: Mon, 31 Mar 2025 07:59:32 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:Wlz08QtC6GUuexMRxwrBxI","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://localhost: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%3AWlz08QtC6GUuexMRxwrBxI' -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%3AWlz08QtC6GUuexMRxwrBxI HTTP/1.1
Accept: */*
Host: localhost: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=9nx6WatosmsY5Tgqw1x8OR
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:32 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=9nx6WatosmsY5Tgqw1x8OR' -i -X GET
Request:
GET /c/finish-authorization?issuer_state=9nx6WatosmsY5Tgqw1x8OR HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:32 GMT
dpop-nonce: p9LyLrIJfGs8Vc1VGTv37y
location: https://secure.redirect.com?code=tdDiQ0ePmcODUxdm39ASGD
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzIsIm5vbmNlIjoicDlMeUxySUpmR3M4VmMxVkdUdjM3eSIsImp0aSI6ImNnVjFxV0FjTHdBaUJERHMifQ.iSiv0b1LmdABETnXF_YAaW-mgraR4JN1YQC4mULYnaBExrgj3OSuav0YszSsaSQknr_XWSVG4oBx-XcsJlqRvw' \
-d 'code=tdDiQ0ePmcODUxdm39ASGD&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzIsIm5vbmNlIjoicDlMeUxySUpmR3M4VmMxVkdUdjM3eSIsImp0aSI6ImNnVjFxV0FjTHdBaUJERHMifQ.iSiv0b1LmdABETnXF_YAaW-mgraR4JN1YQC4mULYnaBExrgj3OSuav0YszSsaSQknr_XWSVG4oBx-XcsJlqRvw
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=tdDiQ0ePmcODUxdm39ASGD&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: Mon, 31 Mar 2025 07:59:32 GMT
dpop-nonce: svI4WM3pwH888fCJft4Lkw
transfer-encoding: chunked
Content-Length: 140
{"access_token":"WwO9OqKWhApQgykKQ2AUPp","token_type":"DPoP","expires_in":3600,"c_nonce":"G6iyrvddPoDez3Tt2iqA4T","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 WwO9OqKWhApQgykKQ2AUPp' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5Ijo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ovxOL1YqlreUtLHH5q51rswx8YA","eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Mywibm9uY2UiOiJHNml5cnZkZFBvRGV6M1R0MmlxQTRUIn0.fkpUy3xrYNvaTxgK6atnCkRVU4o9d6KSF3USS20-FK_5_9Y9rt5rgmkmW6C6L5PsH0xFMZNMgNpooODOP7OGiQ"]}}'
Request:
POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP WwO9OqKWhApQgykKQ2AUPp
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jY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5STzlNYWlLS2J4aHFSNHZKMjJBIiwiMjEiLHRydWVd~WyJjQ3VZeVVVa3I2cFVhOHhNdENFU21nIiwiNjUiLGZhbHNlXQ~WyJQNGlaZmd3X3prVXQ5Rnh0WGZXZndBIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJMVmNDTjBfQkJYeDhWS3BxS1k2YVhnIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJVdHNPQ1Rudkd6V1RrN3FPcTh6NUd3IiwiY291bnRyeSIsIkRFIl0~WyJwZVJnbHk1Nk9rSUtKcHBuQ0hHc1hnIiwicmVnaW9uIiwiIl0~WyJWTUljaFRvYzRWXzdyWUFHQ3lOWkRBIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJaUDJNd09CX2d0OTMybHAzamR4U3VBIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~"],"c_nonce":"zfmikgpOCt3ywTtvnGB43c","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: Mon, 31 Mar 2025 07:59:32 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:Hq8LgFkQH7aa3erwxiS0i5","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://localhost: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%3AHq8LgFkQH7aa3erwxiS0i5' -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%3AHq8LgFkQH7aa3erwxiS0i5 HTTP/1.1
Accept: */*
Host: localhost: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=r0s34HhIYgn4tuLR9gh7Pt
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:32 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=r0s34HhIYgn4tuLR9gh7Pt' -i -X GET
Request:
GET /c/finish-authorization?issuer_state=r0s34HhIYgn4tuLR9gh7Pt HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:32 GMT
dpop-nonce: pVohZK8azCQjk9rlGe1w4j
location: https://secure.redirect.com?code=7yWvQTpnGOshJXf6QlwKv0
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzIsIm5vbmNlIjoicFZvaFpLOGF6Q1FqazlybEdlMXc0aiIsImp0aSI6InZ3M2JsSnI4bTEyTGtPbHIifQ.2k1az6Y04Av83wtumD7_bEPmeUOzAjRaqRCFShrrbTTw5Euqgkt9MjAmsQqZT5GU2pJ2V-QKWUJHvbYku9QKzw' \
-d 'code=7yWvQTpnGOshJXf6QlwKv0&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzIsIm5vbmNlIjoicFZvaFpLOGF6Q1FqazlybEdlMXc0aiIsImp0aSI6InZ3M2JsSnI4bTEyTGtPbHIifQ.2k1az6Y04Av83wtumD7_bEPmeUOzAjRaqRCFShrrbTTw5Euqgkt9MjAmsQqZT5GU2pJ2V-QKWUJHvbYku9QKzw
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=7yWvQTpnGOshJXf6QlwKv0&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: Mon, 31 Mar 2025 07:59:32 GMT
dpop-nonce: M6zyRQ3PtGAR62D0uUJXrW
transfer-encoding: chunked
Content-Length: 140
{"access_token":"aF2EtslAo87Yr3CXsukTNL","token_type":"DPoP","expires_in":3600,"c_nonce":"nFDJ04RiE2RxggStNJNfRI","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 aF2EtslAo87Yr3CXsukTNL' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9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qn0t4QFvl_PZQz87YlVin3ul8lMVYrrsRtSGgQ","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 aF2EtslAo87Yr3CXsukTNL
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvY3JlZGVudGlhbCIsImF0aCI6IjhMX2w2Q1ZKVFhENFFqVFJNdUp0UmZ0Vk9zaXREeHk4V25aQmxzZkRoTDgiLCJpYXQiOjE3NDM0MDc5NzIsIm5vbmNlIjoiTTZ6eVJRM1B0R0FSNjJEMHVVSlhyVyIsImp0aSI6IkVlNWtSakJsbl8tT01qVW8ifQ.mB8mwF4fBU2EB4RoGsKNo3L-m0Gjjg4UpByI3W0G-X7QTbDtYiX3f3urqlPaGMqmj7CCLP-IPNkKaZu0KgE5Vw
Content-Length: 682
Host: pidi.localhost.bdr.de:8080
{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Miwibm9uY2UiOiJuRkRKMDRSaUUyUnhnZ1N0TkpOZlJJIn0.olD8H-5YuQQWOaK-IjAG9JsjIZDiGFcXmlVa0DcMyr0GmnE9qn0t4QFvl_PZQz87YlVin3ul8lMVYrrsRtSGgQ","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:32 GMT
transfer-encoding: chunked
Content-Length: 5481
{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J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6MzIuODZacWVsZW1lbnRJZGVudGlmaWVya2V4cGlyeV9kYXRl2BhYVqRmcmFuZG9tUJAPjuTk-qRh389ywlnNXEFoZGlnZXN0SUQTbGVsZW1lbnRWYWx1ZWVLw5ZMTnFlbGVtZW50SWRlbnRpZmllcm1yZXNpZGVudF9jaXR52BhYVaRmcmFuZG9tUMG4lDp64os-kCHqkUpudqRoZGlnZXN0SUQUbGVsZW1lbnRWYWx1ZWZCRVJMSU5xZWxlbWVudElkZW50aWZpZXJrYmlydGhfcGxhY2XYGFhPpGZyYW5kb21Q4J948tb7gk9so79TbDrZNGhkaWdlc3RJRBVsZWxlbWVudFZhbHVl9XFlbGVtZW50SWRlbnRpZmllcmthZ2Vfb3Zlcl8xNNgYWGmkZnJhbmRvbVA_T3J5rQlUy0oecSQ53X4FaGRpZ2VzdElEFmxlbGVtZW50VmFsdWXAdzIwMjUtMDMtMzFUMDc6NTk6MzIuODZacWVsZW1lbnRJZGVudGlmaWVybWlzc3VhbmNlX2RhdGU","c_nonce":"a4uW0vvGMEn3tHY6FywBZh","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: Mon, 31 Mar 2025 07:59:33 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:j95QNJZy8pLlA3IbkX9bOS","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://localhost: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%3Aj95QNJZy8pLlA3IbkX9bOS' -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%3Aj95QNJZy8pLlA3IbkX9bOS HTTP/1.1
Accept: */*
Host: localhost: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=VcmYL18purmj39kS3UmFJC
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:33 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=VcmYL18purmj39kS3UmFJC' -i -X GET
Request:
GET /c/finish-authorization?issuer_state=VcmYL18purmj39kS3UmFJC HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:33 GMT
dpop-nonce: S6moTb6gfeBbdFKuOTFjTm
location: https://secure.redirect.com?code=LaRiGeUGzXcvQsAZihED5y
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiUzZtb1RiNmdmZUJiZEZLdU9URmpUbSIsImp0aSI6IlpCMG1rMWswb2dDZ01aSmoifQ.2G-idFdbHWFffdNolMFbCNUsybLpfzUMCfqx8lojHP1AmYmXfiuksMoriruSt7l39s5L1-o15-keM3RJRd1uDQ' \
-d 'code=LaRiGeUGzXcvQsAZihED5y&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MvdG9rZW4iLCJpYXQiOjE3NDM0MDc5NzMsIm5vbmNlIjoiUzZtb1RiNmdmZUJiZEZLdU9URmpUbSIsImp0aSI6IlpCMG1rMWswb2dDZ01aSmoifQ.2G-idFdbHWFffdNolMFbCNUsybLpfzUMCfqx8lojHP1AmYmXfiuksMoriruSt7l39s5L1-o15-keM3RJRd1uDQ
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=LaRiGeUGzXcvQsAZihED5y&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: Mon, 31 Mar 2025 07:59:33 GMT
dpop-nonce: zRptFnnDIo8tzZtf4VYAh2
transfer-encoding: chunked
Content-Length: 140
{"access_token":"vVpgLwL4F5Q0rZAL5eAQgT","token_type":"DPoP","expires_in":3600,"c_nonce":"uTb3VWPClLzo1AzyB6mwcb","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 vVpgLwL4F5Q0rZAL5eAQgT' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTm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ieugPXJOFF1GgZ5529ftxB3FnQGW0VGI-QXVXAHBQt769FbUi_HsEo1CstdZsdWxQ","eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Mywibm9uY2UiOiJ1VGIzVldQQ2xMem8xQXp5QjZtd2NiIn0.usfkBRxHareiyZsn7ZzlMP5mmT13B9Assgoz0t4oMfomSDpZFI06-44zbkpgpupiWXcscPgm2sMi86M2zSDqTQ"]}}'
Request:
POST /c/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP vVpgLwL4F5Q0rZAL5eAQgT
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT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iandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYyIsImlhdCI6MTc0MzQwNzk3Mywibm9uY2UiOiJ1VGIzVldQQ2xMem8xQXp5QjZtd2NiIn0.usfkBRxHareiyZsn7ZzlMP5mmT13B9Assgoz0t4oMfomSDpZFI06-44zbkpgpupiWXcscPgm2sMi86M2zSDqTQ"]}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:33 GMT
transfer-encoding: chunked
Content-Length: 10895
{"credentials":["omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlz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lbnRWYWx1ZXBIRUlERVNUUkHhup5FIDE3cWVsZW1lbnRJZGVudGlmaWVyb3Jlc2lkZW50X3N0cmVldNgYWFukZnJhbmRvbVBKuhf71Nh_TnCpFzVhTuLPaGRpZ2VzdElEEmxlbGVtZW50VmFsdWVmR0FCTEVScWVsZW1lbnRJZGVudGlmaWVycWZhbWlseV9uYW1lX2JpcnRo2BhYaaRmcmFuZG9tUOI9TG3hOwaPVnOKKTxEvMJoZGlnZXN0SUQTbGVsZW1lbnRWYWx1ZcB4GDIwMjUtMDQtMTRUMDc6NTk6MzMuMjc2WnFlbGVtZW50SWRlbnRpZmllcmtleHBpcnlfZGF0ZdgYWE-kZnJhbmRvbVDcKAN8ftj8B6UitnpGccZjaGRpZ2VzdElEFGxlbGVtZW50VmFsdWX1cWVsZW1lbnRJZGVudGlmaWVya2FnZV9vdmVyXzE22BhYVKRmcmFuZG9tUMUMinm9NEYma9oduEvtCyZoZGlnZXN0SUQVbGVsZW1lbnRWYWx1ZRkHrHFlbGVtZW50SWRlbnRpZmllcm5hZ2VfYmlydGhfeWVhctgYWFKkZnJhbmRvbVAXfK-9f087HfojCr5MZDsdaGRpZ2VzdElEFmxlbGVtZW50VmFsdWVgcWVsZW1lbnRJZGVudGlmaWVybnJlc2lkZW50X3N0YXRl"],"c_nonce":"BSaAGJrJh7WhSWWRLqFkCf","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: Mon, 31 Mar 2025 07:59:29 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:tAMerOaaSm55PqRGLcPgsQ","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://localhost: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%3AtAMerOaaSm55PqRGLcPgsQ' -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%3AtAMerOaaSm55PqRGLcPgsQ HTTP/1.1
Accept: */*
Host: localhost: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=eLDJLskBw0Z7mdyfRzZEwK
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:29 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=eLDJLskBw0Z7mdyfRzZEwK' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=eLDJLskBw0Z7mdyfRzZEwK HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: GUmur5RrcvR8K1w9g8IyI0
location: https://secure.redirect.com?code=bcXxJiFFkxn9Vj3qoFS3bJ
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6IkdVbXVyNVJyY3ZSOEsxdzlnOEl5STAiLCJqdGkiOiJfSkRXSGRCZ0E4T25TX3dsIn0.KmyHFJtFXnQKZRepOUV4O57N7Op0LAZ-B_XUeLAseJEc6o0Sxpnd25YD6AwAXeLGFADp2U3yawHUnyXcu3Rg0w' \
-d 'code=bcXxJiFFkxn9Vj3qoFS3bJ&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6IkdVbXVyNVJyY3ZSOEsxdzlnOEl5STAiLCJqdGkiOiJfSkRXSGRCZ0E4T25TX3dsIn0.KmyHFJtFXnQKZRepOUV4O57N7Op0LAZ-B_XUeLAseJEc6o0Sxpnd25YD6AwAXeLGFADp2U3yawHUnyXcu3Rg0w
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=bcXxJiFFkxn9Vj3qoFS3bJ&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: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: IOgvVh7RDckFH2eebpU8ey
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"XI4nQzXcrdxBW97oBk6s0d","token_type":"DPoP","expires_in":3600,"c_nonce":"4zvbcI66jTWQdV10j3mvjl","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODA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k0Mzk2OSwiaWF0IjoxNzQzNDA3OTY5fQ.L2sSxgDkg8weXmL31H1flbiNtUr2wl11cF8003moBjbDh_AzH0EkqXTxbdiAvHu9OaQ5yEL_z0IKfZo2FThawQ"}
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 XI4nQzXcrdxBW97oBk6s0d' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJjTXhxTjZra0JyZUtKV2JmT0lZaDdqSWlMUEhfRDZ1bGJzNmJ1a2NXOEhZIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6IklPZ3ZWaDdSRGNrRkgyZWVicFU4ZXkiLCJqdGkiOiJjS1JvRFktdkdJTElfQnFfIn0.Lyfbl2BfMvLH2wj0TWIYYDvZk18jxG1Ba7mZ7HFNjUVDSwXdf5v1e1fYmQuP6TkCMpXz5byyVhyS_x1pvAar4A' \
-d '{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjksIm5vbmNlIjoiNHp2YmNJNjZqVFdRZFYxMGozbXZqbCJ9.dTaxRxX6gptnZ071z7oN3LBDWlwiAXidZ77MDksDbNdZE3G4IxpROkQW4wF1m2PDUtNGMMH3VBUQecl7jyNMzg","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 XI4nQzXcrdxBW97oBk6s0d
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJjTXhxTjZra0JyZUtKV2JmT0lZaDdqSWlMUEhfRDZ1bGJzNmJ1a2NXOEhZIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6IklPZ3ZWaDdSRGNrRkgyZWVicFU4ZXkiLCJqdGkiOiJjS1JvRFktdkdJTElfQnFfIn0.Lyfbl2BfMvLH2wj0TWIYYDvZk18jxG1Ba7mZ7HFNjUVDSwXdf5v1e1fYmQuP6TkCMpXz5byyVhyS_x1pvAar4A
Content-Length: 710
Host: pidi.localhost.bdr.de:8080
{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjksIm5vbmNlIjoiNHp2YmNJNjZqVFdRZFYxMGozbXZqbCJ9.dTaxRxX6gptnZ071z7oN3LBDWlwiAXidZ77MDksDbNdZE3G4IxpROkQW4wF1m2PDUtNGMMH3VBUQecl7jyNMzg","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:29 GMT
transfer-encoding: chunked
Content-Length: 4755
{"credential":"eyJ4NWMiOlsiTUlJQ2FUQ0NBZytnQXdJQkFnSVVTaHl4Y0laR2lQVjN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V19RIiwiNjUiLGZhbHNlXQ~WyJLN1hfU01IdG04R3dZbzltbnU3RWdRIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyI2QndNT3M5VHVSa212dHJwcm8tOWdRIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJYdkNmWlhrTERST1ZEdUMweGtYSFFRIiwiY291bnRyeSIsIkRFIl0~WyJiZkYwVFpaX25NM3R5eVVSa3RNUXh3IiwicmVnaW9uIiwiIl0~WyJ4bllUQUFzUENONWU0MTctb2Z1ZkRRIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyI3ODdPN095MUlxcTFRQjNrcUR0TXZBIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"z0kwCmaoRUZXJEgbcXPslc","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: Mon, 31 Mar 2025 07:59:28 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:cmAo88jI2cyBzh9apRI18V","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://localhost: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%3AcmAo88jI2cyBzh9apRI18V' -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%3AcmAo88jI2cyBzh9apRI18V HTTP/1.1
Accept: */*
Host: localhost: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=U4hTmbsUMMzWzFt95L1j0z
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:28 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=U4hTmbsUMMzWzFt95L1j0z' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=U4hTmbsUMMzWzFt95L1j0z HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:28 GMT
dpop-nonce: bJQP395MgSdlqmz3iZZeAF
location: https://secure.redirect.com?code=llTYQtTF3tUmbkfJCJpS9i
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY4LCJub25jZSI6ImJKUVAzOTVNZ1NkbHFtejNpWlplQUYiLCJqdGkiOiJiMVpSenJYbkg0Q1ZkanpMIn0.JoDSKnBOprcIvP3HN5Vu7kNk1VHxAz7dBmatODuUTNDt4QtDYCOio08YaQBGuhP69uMEYorAHfgL-ho0iV4D1w' \
-d 'code=llTYQtTF3tUmbkfJCJpS9i&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY4LCJub25jZSI6ImJKUVAzOTVNZ1NkbHFtejNpWlplQUYiLCJqdGkiOiJiMVpSenJYbkg0Q1ZkanpMIn0.JoDSKnBOprcIvP3HN5Vu7kNk1VHxAz7dBmatODuUTNDt4QtDYCOio08YaQBGuhP69uMEYorAHfgL-ho0iV4D1w
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=llTYQtTF3tUmbkfJCJpS9i&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: Mon, 31 Mar 2025 07:59:28 GMT
dpop-nonce: hLdExfcsDpImYKAbQW8G1A
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"nv3aoShAAPv9YaK3dyBV6a","token_type":"DPoP","expires_in":3600,"c_nonce":"rkGZThiFSocECa094Pygkv","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi43dWVpcEU5allIVHdTeVN1Lnh0Mm5ZbnlTSUQtelFIZmxvZ2JZUlNRdWRuRWJLM2lUWnNHeVFjSzB3ZC1HZjNvNG5zOEhpNlZRdTBUYUE4ckYzT2hqWWxXeDEwb3N6UFJwU0Njck93LXhlQ2hFWkcxZzFtT2xsYXFHNlB5SlE4X1VWZnZpaVhsd2VvMUVIRUFpeEh2NU5oUkxyZ3VBSUZlam1VS01NdlIzZ3I4V19vRjZIRG5GeFoxWXgzc0hrS2pKTmxlTFh5bEVxTUZIRW5lYjZlVlpKSHgxV0F5dEM0LW4zVEgxc0VqSjVOeFRFYUtEaFB1WTdnLWZCLWhJTkRMazJEQ0pSTGs4SDc1dzB1RGdwOERfNmlQSzZlVDhuZkN0UlA1bUJ1OVJmV1prWFZhSTZaVE9PaXVNWEVmaUd3S2MyVzg5Xzl3SVJlYVgzdTdMQ1M4azZTZERpRWs4eWRiWXlDT0NIQXVycmxNYWVKanExalU0WEFfS09Haks2d08zUTdnQW9Fb3Q2dXNkUUM4U3Y3R19RYlFPOFJvaXFuUGZNU3pVbVBqZmMxcnBTUmJpVW5OY1NYRmVnaTN2ZUx1Wm9EbmdrdlEyaUQ5eU1wSmsudnFoQzlOWTU3QzdkdDdkelB3U0dMUSIsImV4cCI6MTc3NDk0Mzk2OCwiaWF0IjoxNzQzNDA3OTY4fQ.PEJ7RwzGNzIseP8ea_l4PQMXuCLfcYvccqQQ_tp7cvT8Ib7YKjYH0MbDitiKGDVs46Dyxa-GYP3VfyhKNF77nw"}
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 nv3aoShAAPv9YaK3dyBV6a' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZy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kxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjgsIm5vbmNlIjoicmtHWlRoaUZTb2NFQ2EwOTRQeWdrdiJ9.q3JLSNy32gIGFFKZ3XW3y0FiYgxHG2rbKv6z8kICMCukWYXbPsBxzmKcHcpAUP-SbbRyWaPAIcYgutkBk_KdqQ","eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjgsIm5vbmNlIjoicmtHWlRoaUZTb2NFQ2EwOTRQeWdrdiJ9.7X6prkRNIqht7sPT2IphhRwcN4twsfXk5atZbI4YrwjJHeSbwWyKRtvT2MbPFcouFE4xrdNU1s_kTxmWRGcQvw"]}}'
Request:
POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP nv3aoShAAPv9YaK3dyBV6a
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBs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I1MXVrNWJ6QzV5cW9uUF9RNS1GUU5nIiwibmF0aW9uYWxpdGllcyIsWyJERSJdXQ~WyJJNkpXVHhxaU1Kdkk5Y3lZMUhaenpnIiwiMTIiLHRydWVd~WyJvb0JqY3J3QTlMM0M0YWRSRHNPeXpRIiwiMTQiLHRydWVd~WyJJcjJnQ1hZYVhxbGNMTXhzWnMyaWt3IiwiMTYiLHRydWVd~WyJZZG5hZzI0M2l0cEloM083QUlqSVZnIiwiMTgiLHRydWVd~WyJyZzF4ZGZfdTB5Ml9WUTBKMktJLTlRIiwiMjEiLHRydWVd~WyJBaUppbUtEQ2l0NFYwZ1R3emFFNGZ3IiwiNjUiLGZhbHNlXQ~WyI1UzAyUV8zMU9BNUwtQzhLQ1hsdzlBIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJWRHNuaEhOX2NUVjJIdEpWcVh5WG9RIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJIeW5NYmhxZXpENjJMU3JVMGFueFZnIiwiY291bnRyeSIsIkRFIl0~WyJjd2U1ZWQ4bG9reFV5aUxIRE1UVTdnIiwicmVnaW9uIiwiIl0~WyIyeUxISHhkMVJKaHRxcHRRM011c1FRIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJoZ2lNVDI1RXVSRXUzendqaUQyNUJnIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~"],"c_nonce":"Lt4KIaGnCTU3KepXWlMsjR","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: Mon, 31 Mar 2025 07:59:31 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:wcWt9iLBoF14UPCFSZuW6Q","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://localhost: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%3AwcWt9iLBoF14UPCFSZuW6Q' -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%3AwcWt9iLBoF14UPCFSZuW6Q HTTP/1.1
Accept: */*
Host: localhost: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=FJOBN9neb89EqLEVNG1UjB
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:31 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=FJOBN9neb89EqLEVNG1UjB' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=FJOBN9neb89EqLEVNG1UjB HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:31 GMT
dpop-nonce: dNLx5ehYakpllRfqgNSeke
location: https://secure.redirect.com?code=z9oOrR0v2MX7c87URpyppQ
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcxLCJub25jZSI6ImROTHg1ZWhZYWtwbGxSZnFnTlNla2UiLCJqdGkiOiJTTnlKR1lnQU9mR05fU2pqIn0.pIg_emaPbVbinbSNCbVcHFv4VgBemnZcriRVS94XFbAbAKMGGG4em01GQYYMuQbgOBdbnLrpJuefAVbpwi9kmA' \
-d 'code=z9oOrR0v2MX7c87URpyppQ&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcxLCJub25jZSI6ImROTHg1ZWhZYWtwbGxSZnFnTlNla2UiLCJqdGkiOiJTTnlKR1lnQU9mR05fU2pqIn0.pIg_emaPbVbinbSNCbVcHFv4VgBemnZcriRVS94XFbAbAKMGGG4em01GQYYMuQbgOBdbnLrpJuefAVbpwi9kmA
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=z9oOrR0v2MX7c87URpyppQ&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: Mon, 31 Mar 2025 07:59:31 GMT
dpop-nonce: lv24RgPF2Eg7i1VPaaWu1I
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"yNMteETwvJQDHsPVttsuht","token_type":"DPoP","expires_in":3600,"c_nonce":"ZHeCn9zYQZrl2ZSci7646W","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJod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ajlCSnY5NFRYUSIsImV4cCI6MTc3NDk0Mzk3MSwiaWF0IjoxNzQzNDA3OTcxfQ.MFMYHYZfNUQHW1esjVVHQLDso7N8T7gjbplUJO3YtscSZjYaFtJr_eTgJjA6Y9ygZRCzG-cOY4OnoL42hgmI5Q"}
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcxLCJqdGkiOiJ4blFaVjJtUEhoZURKYXNvIn0.OfdMPZTJHtfQQkuwGX3qfH0syK-7UNKaTNy1evSb0gmzhWLS4_pTeTNQREOtnIUHoKFvbX0vGbYyssN7Iah2SA' \
-d 'refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaG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DA3OTcxfQ.ekkbvHeGKAKCj5Vh1XojM54h2BB-3uq1LGE85V2QMhSUadw_a6DjQKG81S16sDcdyBzYtFKC6lwrlQRf9YGmLMg9HF6LSPaeleJl0CRkLNKGyLHB0_1eTYAafCD3PzjTqasOJlNItAVes2VUpxLh7sViFX7eL_1cxWUJlWLJfR5gdRwXtE_DsSNXJejQt6L1xrliJm5tJXUYRBjJ6g1qiuRGQsdokv4tKl8Q0LtfNnygfKGYeWRs0ABSb7p7nLE3H78-i3xbLImnNn3oRBJBNgQe3gIPfLReQwBSybcTb0p7G1TdLv37gbwOgsxHV9PuMWGMQcgio7k2UPqfRiCq6w%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NzEsImV4cCI6MTc0MzQwODAwMSwiaWF0IjoxNzQzNDA3OTcxLCJqdGkiOiJ0ZXN0In0.njbcyL1khjId5OgZt2bB6QNf18tQQInwen2Z6azKsCvUdIj6GrzTM0BY-knEstefh4rn0pPul9UkTKkmrli5rg&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: eyJ0eXAiOiJkcG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NgQe3gIPfLReQwBSybcTb0p7G1TdLv37gbwOgsxHV9PuMWGMQcgio7k2UPqfRiCq6w%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NzEsImV4cCI6MTc0MzQwODAwMSwiaWF0IjoxNzQzNDA3OTcxLCJqdGkiOiJ0ZXN0In0.njbcyL1khjId5OgZt2bB6QNf18tQQInwen2Z6azKsCvUdIj6GrzTM0BY-knEstefh4rn0pPul9UkTKkmrli5rg&client_id=fed79862-af36-4fee-8e64-89e3c91091ed
Response:
HTTP/1.1 400 Bad Request
connection: close
content-type: application/json
date: Mon, 31 Mar 2025 07:59:31 GMT
dpop-nonce: 06S9zYxEHgfMc1NdUTCjah
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJra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J0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NzEsImV4cCI6MTc0MzQwODAwMSwiaWF0IjoxNzQzNDA3OTcxLCJqdGkiOiJ0ZXN0In0.gLHnxXnVvA5Jcldm3NO2QBUSosmZnP-br66NRUqn7mWCCV2hPCJv7iKKZP--ZIncBgHss8W6aFv6-01ajG6j5A&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo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2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NzEsImV4cCI6MTc0MzQwODAwMSwiaWF0IjoxNzQzNDA3OTcxLCJqdGkiOiJ0ZXN0In0.gLHnxXnVvA5Jcldm3NO2QBUSosmZnP-br66NRUqn7mWCCV2hPCJv7iKKZP--ZIncBgHss8W6aFv6-01ajG6j5A&client_id=fed79862-af36-4fee-8e64-89e3c91091ed
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:31 GMT
dpop-nonce: ETwfEtO95qzgt0ZI4W1K6D
transfer-encoding: chunked
Content-Length: 140
{"access_token":"8w5c3cmCxikcGvvs8KGzNw","token_type":"DPoP","expires_in":3600,"c_nonce":"YbLEp5TqRYmixmb8qWmlHf","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 8w5c3cmCxikcGvvs8KGzNw' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJpRkNKUVdYSURmZmhYc1ZMem1SQ2ozZ0xzLUhvQjlWa1Zkbkxnc0d5OVhFIiwiaWF0IjoxNzQzNDA3OTcxLCJub25jZSI6IkVUd2ZFdE85NXF6Z3QwWkk0VzFLNkQiLCJqdGkiOiJfZzJpZmhQMnRCWWhSWlRqIn0.TMNxHyfookUrCUdnYqoavxjq4q_CMbYw-i_hPSQCwwBgGC5_JuaOSVxJTZwuLf1YmNxCw1ekXMkTM3Lk_qF99g' \
-d '{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzEsIm5vbmNlIjoiWWJMRXA1VHFSWW1peG1iOHFXbWxIZiJ9.QfEXED8Ug5SLFgMMfusCddx3n9-mqRH2JBgwtd271TIX7TYKSTThdEl13LPrf1WOOqRJn9P4x42kEuQIPF_TuQ","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 8w5c3cmCxikcGvvs8KGzNw
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJpRkNKUVdYSURmZmhYc1ZMem1SQ2ozZ0xzLUhvQjlWa1Zkbkxnc0d5OVhFIiwiaWF0IjoxNzQzNDA3OTcxLCJub25jZSI6IkVUd2ZFdE85NXF6Z3QwWkk0VzFLNkQiLCJqdGkiOiJfZzJpZmhQMnRCWWhSWlRqIn0.TMNxHyfookUrCUdnYqoavxjq4q_CMbYw-i_hPSQCwwBgGC5_JuaOSVxJTZwuLf1YmNxCw1ekXMkTM3Lk_qF99g
Content-Length: 710
Host: pidi.localhost.bdr.de:8080
{"format":"vc+sd-jwt","vct":"http://pidi.localhost.bdr.de:8080/credentials/pid/1.0","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzEsIm5vbmNlIjoiWWJMRXA1VHFSWW1peG1iOHFXbWxIZiJ9.QfEXED8Ug5SLFgMMfusCddx3n9-mqRH2JBgwtd271TIX7TYKSTThdEl13LPrf1WOOqRJn9P4x42kEuQIPF_TuQ","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:31 GMT
transfer-encoding: chunked
Content-Length: 4755
{"credential":"eyJ4NWMiOlsiTUlJQ2FUQ0NBZytnQXdJQkFnSVVTaHl4Y0laR2lQVjN3QlJwNFlPbE5wMUkxM1l3Q2dZSUtvWkl6ajBFQXdJd2dZa3hDekFKQmdOVkJBWVRBa1JGTVE4d0RRWURWUVFJREFaaVpISXVaR1V4RHpBTkJnTlZCQWNNQmtKbGNteHBiakVNTUFvR0ExVUVDZ3dEUWtSU01ROHdEUVlEVlFRTERBWk5ZWFZ5WlhJeEhUQWJCZ05WQkFNTUZHbHpjM1ZoYm1ObExYUmxjM1F1WW1SeUxtUmxNUm93R0FZSktvWklodmNOQVFrQkZndDBaWE4wUUdKa2NpNWtaVEFlRncweU5EQTFNamd3T0RJeU1qZGFGdzB6TkRBME1EWXdPREl5TWpkYU1JR0pNUXN3Q1FZRFZRUUdFd0pFUlRFUE1BMEdBMVVFQ0F3R1ltUnlMbVJsTVE4d0RRWURWUVFIREFaQ1pYSnNhVzR4RERBS0JnTlZCQW9NQTBKRVVqRVBNQTBHQTFVRUN3d0dUV0YxY21WeU1SMHdHd1lEVlFRRERCUnBjM04xWVc1alpTMTBaWE4wTG1Ka2NpNWtaVEVhTUJnR0NTcUdTSWIzRFFFSkFSWUxkR1Z6ZEVCaV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~WyI1N0hWeDFFLVpocDl3VGFtYnRlN3dBIiwiYWdlX2luX3llYXJzIiw2MF0~WyJkMDJab3VBc3Q1WnQ2OXh0dVlIZ253IiwiYmlydGhfZmFtaWx5X25hbWUiLCJHQUJMRVIiXQ~WyJITG9hbzVwd1JwNFQ3RTlFQjZyZWtRIiwibmF0aW9uYWxpdGllcyIsWyJERSJdXQ~WyIyU0l4Mi1xenJaQkpZS0F0Rmx1dUh3IiwiMTIiLHRydWVd~WyJXb2NuZWxsS25DUWNSc0dfOHpjeE13IiwiMTQiLHRydWVd~WyJYYmw0TGFnTmxtWERNNTJlc3BXR0l3IiwiMTYiLHRydWVd~WyJZNHYzQlFfel8tNkdSYzA2QUlrLTNnIiwiMTgiLHRydWVd~WyJZeGN4c3c2SVNqbTgzU1cxYS1SX1FnIiwiMjEiLHRydWVd~WyI5d3F5NzdQbWNwYUFrS3BCdUZJZ3pRIiwiNjUiLGZhbHNlXQ~WyI1REk2cHBuNHBPWG1OaFZfaE84MGtnIiwibG9jYWxpdHkiLCJCRVJMSU4iXQ~WyJlNGZWM0xBWkxadW1ESmpkaC1ZY1dnIiwibG9jYWxpdHkiLCJLw5ZMTiJd~WyJZMU1YVG03UzZ6R2pxcmdIYzZreG5nIiwiY291bnRyeSIsIkRFIl0~WyI0Vk1nbzJLdnJESkRlcllmejU4M0RnIiwicmVnaW9uIiwiIl0~WyJDczJCVXpnam9uRVRUNkZEMWhtVkFRIiwicG9zdGFsX2NvZGUiLCI1MTE0NyJd~WyJmSWltOHg1TkxlN2tzRmM0WTdRWGlRIiwic3RyZWV0X2FkZHJlc3MiLCJIRUlERVNUUkHhup5FIDE3Il0~","c_nonce":"lz4fOWpkeso81WgLRyaANF","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: Mon, 31 Mar 2025 07:59:30 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:bsNOZ4n2x8PVGD54VnYkok","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://localhost: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%3AbsNOZ4n2x8PVGD54VnYkok' -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%3AbsNOZ4n2x8PVGD54VnYkok HTTP/1.1
Accept: */*
Host: localhost: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=1cFgV3Y4LKGfUu7BPi1zVK
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:30 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=1cFgV3Y4LKGfUu7BPi1zVK' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=1cFgV3Y4LKGfUu7BPi1zVK HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:30 GMT
dpop-nonce: vmD4ZvyGqG94n4irfSNDfy
location: https://secure.redirect.com?code=Vo4yOM7PvxehNwdMOqjlIr
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6InZtRDRadnlHcUc5NG40aXJmU05EZnkiLCJqdGkiOiJmNkpGbzM0bjVHdU9RYW9SIn0.4l10W41q-wU3UKnnKPEJT7mPqaLCQBjCl7fIPUw1KjhwGtP2vtWawa3B_rCDleq5BVI3RCICIqrr0z18gMCuWg' \
-d 'code=Vo4yOM7PvxehNwdMOqjlIr&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6InZtRDRadnlHcUc5NG40aXJmU05EZnkiLCJqdGkiOiJmNkpGbzM0bjVHdU9RYW9SIn0.4l10W41q-wU3UKnnKPEJT7mPqaLCQBjCl7fIPUw1KjhwGtP2vtWawa3B_rCDleq5BVI3RCICIqrr0z18gMCuWg
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=Vo4yOM7PvxehNwdMOqjlIr&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: Mon, 31 Mar 2025 07:59:30 GMT
dpop-nonce: 2EtMghmX32tc0uEWCqeehl
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"cZVujHLAddkwMjkIatOOmh","token_type":"DPo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M2dyNmtmOUhxc24zal9pUWk2c2dHOGRUOFR3Y1ZmWmxTUkwxdFVmbkJxSzBHRS1NMUJrNExPa0pTV3RQV0JhQ292SEZaS3FVaWJ4eTdzUTV4RHNRZGZFUmtFVWFhVXJMemgub3JDeDkwT2hVYTRMcVVvREc4cFNtdyIsImV4cCI6MTc3NDk0Mzk3MCwiaWF0IjoxNzQzNDA3OTcwfQ.nHiIFmEgGp_ywR5zlbJ0v2P24J0A0jj72LmZosD1YjcJIn5PK7ItkBWNz0f8bWQzkXRP9zJ8RsN3_EYC2cIFpA"}
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 cZVujHLAddkwMjkIatOOmh' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJTeG9pd05CWWZONk1vZlJBdHBFekFzNTRnQTA0X3hQd0lzR3lNZ1NWc280IiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6IjJFdE1naG1YMzJ0YzB1RVdDcWVlaGwiLCJqdGkiOiItZjIwZEp2bTlqbVBJUHhkIn0.O4HF9es5zqc9jMgJtRCgIbExTSIKdzf0fTVuiv95bD4guwwkJVND72nZlWmyrIWJRqXhEhpdP0RMQs_pEoDMTA' \
-d '{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzAsIm5vbmNlIjoicnp1eTlZN1BDNXhFejJUUGpIWHJUbSJ9.Tc62eDC2d2sSGdBNIKYi18buH_kxPg2PckG-D29QLmT1rWVvkcNk527ZH6e3GmzXE1Qvewc4T77pzEiQG4XWgQ","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 cZVujHLAddkwMjkIatOOmh
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJTeG9pd05CWWZONk1vZlJBdHBFekFzNTRnQTA0X3hQd0lzR3lNZ1NWc280IiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6IjJFdE1naG1YMzJ0YzB1RVdDcWVlaGwiLCJqdGkiOiItZjIwZEp2bTlqbVBJUHhkIn0.O4HF9es5zqc9jMgJtRCgIbExTSIKdzf0fTVuiv95bD4guwwkJVND72nZlWmyrIWJRqXhEhpdP0RMQs_pEoDMTA
Content-Length: 683
Host: pidi.localhost.bdr.de:8080
{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzAsIm5vbmNlIjoicnp1eTlZN1BDNXhFejJUUGpIWHJUbSJ9.Tc62eDC2d2sSGdBNIKYi18buH_kxPg2PckG-D29QLmT1rWVvkcNk527ZH6e3GmzXE1Qvewc4T77pzEiQG4XWgQ","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:30 GMT
transfer-encoding: chunked
Content-Length: 5486
{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EBTADAQH_MAoGCCqGSM49BAMCA0gAMEUCIC7aHnG6VdF5vkiGCmRiJhHUE41O2yNPud_NACEvghI5AiEArqMrDB_p9NNJnC8lQ4C7t3PUPL8OYfX0t5_TOpo02G1ZBMHYGFkEvKdmc3RhdHVzoWtzdGF0dXNfbGlzdKJjaWR4GBtjdXJpeDpodHRwOi8vbG9jYWxob3N0OjgwODUvNGY1YmIzZWMtY2E3ZC00ZmQxLWE0NjYtMWI1YmY4NTUyYjYxZ2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JZGVudGlmaWVya25hdGlvbmFsaXR52BhYVqRmcmFuZG9tUALsiQW-gOVlwuiMCv1frU5oZGlnZXN0SUQWbGVsZW1lbnRWYWx1ZWJERXFlbGVtZW50SWRlbnRpZmllcnByZXNpZGVudF9jb3VudHJ5","c_nonce":"l0nDPXVeKTjql0UZLyn2PX","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: Mon, 31 Mar 2025 07:59:30 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:MlsaeQXnJBEdN6mFDBt5SL","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://localhost: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%3AMlsaeQXnJBEdN6mFDBt5SL' -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%3AMlsaeQXnJBEdN6mFDBt5SL HTTP/1.1
Accept: */*
Host: localhost: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=c4msdPennRXiCFXRjNrmN5
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:30 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=c4msdPennRXiCFXRjNrmN5' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=c4msdPennRXiCFXRjNrmN5 HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:30 GMT
dpop-nonce: 57mwfppypZpoPs2WRKmHwz
location: https://secure.redirect.com?code=019gDjGm1RWoWT1BL5AxwC
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6IjU3bXdmcHB5cFpwb1BzMldSS21Id3oiLCJqdGkiOiJDbHRrZUx6VVpIRU9EN2JxIn0.9rS0maeFMS2-k37fCXspD4s-8rebhayBOuwHxmy72Zb8MnMoEAZ-lOSmOmofm-aZ1V1JQxhiktIlqo7E9BNYoA' \
-d 'code=019gDjGm1RWoWT1BL5AxwC&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTcwLCJub25jZSI6IjU3bXdmcHB5cFpwb1BzMldSS21Id3oiLCJqdGkiOiJDbHRrZUx6VVpIRU9EN2JxIn0.9rS0maeFMS2-k37fCXspD4s-8rebhayBOuwHxmy72Zb8MnMoEAZ-lOSmOmofm-aZ1V1JQxhiktIlqo7E9BNYoA
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=019gDjGm1RWoWT1BL5AxwC&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: Mon, 31 Mar 2025 07:59:30 GMT
dpop-nonce: bkyr9CnZEWaxKOwkojfvKL
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"JVa9Y3vz7Y9rAmcOH9tDY7","token_type":"DPoP","expires_in":3600,"c_nonce":"JMkCkT1QHJURuVxx5uo57O","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5IU0dVMHIzcGQ0MG0yc3VHLkRVMTRrSTNFQzI2ODBmODJkTGdaS2ViRXlEMlFyQ3lzSW90aDNYWk5GMkZNYWVJSnp3MmotbzN1RUNzQ0pudTdISDFIaFZMNEpzN0RuTmV0RmNsbHU3d0ZNdi1uUmFmTWdYdGcxd2wtcjNMYk82b21PaTdtX0lVbnJrU0hRZ1o1QkFQd3NNQ3F6eWRzZ090S0JnYzhENDN3ampmWllza1BWOEpuUFJQQWJhdzRtcmVRTEsyQ1hfRmNkR2VWTFRuS0VxMWVrcWk1RW40RzdOWjU0Y2FtaWRvclcza1VoaXVYX0NMRERnRHB5SkI1U1ViRGhYTm9ibHNBVUZCUk1kY25hSW1GZGtKX085dUR5UzlsZm5UQ3lXMXU3VVM4SThfWDF2a2dSQl9VLUZWLVc2X0VoSE1Tc016VDJfbWxrYzNyRVRsN05CX3ZhNzBjNlY2WVZGdXhjZXp5RkgxbGZmYWxfblE2eWNPa3VzeEJ6bm1lYnVxRkFGOE0zbm82bEN2VFBUelR1c0FzNEs0Qlp3RC0zVGZTU0QxN2ZiTmtGcHphRXlpOEJuSkZwVlBwQU9Ga1EyVW1sdDY1blZ1SDVGMG8uYWVTUWlhNm1ibEpCQnpIWmNMSXZIUSIsImV4cCI6MTc3NDk0Mzk3MCwiaWF0IjoxNzQzNDA3OTcwfQ.-HDi65v05SEiBK5-mfldmItNVyUV5zfp-qsvb5FJVzxn_Gaclh0LAAJnW971XzPIV8ezI7OgfbLdGuzeaKk-Cg"}
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 JVa9Y3vz7Y9rAmcOH9tDY7' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6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MjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzAsIm5vbmNlIjoiSk1rQ2tUMVFISlVSdVZ4eDV1bzU3TyJ9.mZ20YZyFNA9bpoCumsZYnJAUoh-DQJcQmwh2qiddubCh424gTv_YCWoUBUurw25mauRboGBk-ZnPJwOxu2uMRg"]}}'
Request:
POST /c1/credential HTTP/1.1
Content-Type: application/json;charset=utf-8
Content-Type: application/json; charset=utf-8
Authorization: DPoP JVa9Y3vz7Y9rAmcOH9tDY7
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJTSHl4dWg5Zl8waFlFM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6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NzAsIm5vbmNlIjoiSk1rQ2tUMVFISlVSdVZ4eDV1bzU3TyJ9.mZ20YZyFNA9bpoCumsZYnJAUoh-DQJcQmwh2qiddubCh424gTv_YCWoUBUurw25mauRboGBk-ZnPJwOxu2uMRg"]}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:30 GMT
transfer-encoding: chunked
Content-Length: 10900
{"credentials":["omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA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maWVycWZhbWlseV9uYW1lX2JpcnRo2BhYUqRmcmFuZG9tUCiFsv26-aNejdH75lDKO0poZGlnZXN0SUQSbGVsZW1lbnRWYWx1ZWBxZWxlbWVudElkZW50aWZpZXJucmVzaWRlbnRfc3RhdGXYGFhVpGZyYW5kb21QPT-6xxDWDBcDyce3nxQpDmhkaWdlc3RJRBNsZWxlbWVudFZhbHVlZkJFUkxJTnFlbGVtZW50SWRlbnRpZmllcmtiaXJ0aF9wbGFjZdgYWE-kZnJhbmRvbVCkGjv7uahjSaH9WmdGKqDPaGRpZ2VzdElEFGxlbGVtZW50VmFsdWX0cWVsZW1lbnRJZGVudGlmaWVya2FnZV9vdmVyXzY12BhYT6RmcmFuZG9tUD4z9VOILBmBAe92xqx5vJloZGlnZXN0SUQVbGVsZW1lbnRWYWx1ZfVxZWxlbWVudElkZW50aWZpZXJrYWdlX292ZXJfMTLYGFhppGZyYW5kb21QFXcMtQ9V2qveVfe7lgMk7mhkaWdlc3RJRBZsZWxlbWVudFZhbHVlwHgYMjAyNS0wNC0xNFQwNzo1OTozMC41MDJacWVsZW1lbnRJZGVudGlmaWVya2V4cGlyeV9kYXRl"],"c_nonce":"wQGFDAqZ4RUcwHshc3j4sT","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: Mon, 31 Mar 2025 07:59:29 GMT
transfer-encoding: chunked
Content-Length: 90
{"request_uri":"urn:ietf:params:oauth:request_uri:Ri5rMIAIhThIVtGZHauAiC","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://localhost: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%3ARi5rMIAIhThIVtGZHauAiC' -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%3ARi5rMIAIhThIVtGZHauAiC HTTP/1.1
Accept: */*
Host: localhost: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=iYDYgY2NqQS9YiPlvFBaEr
Content-Type: text/plain
Date: Mon, 31 Mar 2025 07:59:29 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=iYDYgY2NqQS9YiPlvFBaEr' -i -X GET
Request:
GET /c1/finish-authorization?issuer_state=iYDYgY2NqQS9YiPlvFBaEr HTTP/1.1
Host: pidi.localhost.bdr.de:8080
Response:
HTTP/1.1 302 Found
date: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: md8pzeLCXFryRwd1imxwRW
location: https://secure.redirect.com?code=xRO8QNZkZoACwVuF8h5Qme
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6Im1kOHB6ZUxDWEZyeVJ3ZDFpbXh3UlciLCJqdGkiOiJldFV3MFdrX1dvMW5OV3huIn0.2aC_P-VkVl6dsHKcLNTO3GuHv5ZDzSc9QJ7yCqfxMCQAILkA14syvoxv22bN-p33fOLnMn6TvJE1KHUsfF5wdw' \
-d 'code=xRO8QNZkZoACwVuF8h5Qme&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6Im1kOHB6ZUxDWEZyeVJ3ZDFpbXh3UlciLCJqdGkiOiJldFV3MFdrX1dvMW5OV3huIn0.2aC_P-VkVl6dsHKcLNTO3GuHv5ZDzSc9QJ7yCqfxMCQAILkA14syvoxv22bN-p33fOLnMn6TvJE1KHUsfF5wdw
Content-Length: 171
Host: pidi.localhost.bdr.de:8080
code=xRO8QNZkZoACwVuF8h5Qme&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: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: oysLyCA1XemIqn238B4oTx
transfer-encoding: chunked
Content-Length: 1440
{"access_token":"hbRGPeqDTVQVudXlVk5IMO","token_type":"DPoP","expires_in":3600,"c_nonce":"LwwR18ejS62eABr3F9Ux5A","c_nonce_expires_in":3600,"refresh_token":"eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraW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LHok7wUJ3pmZndN985byO9MLPOT60epZrUmRyxX-Q"}
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJqdGkiOiJtNi1GcjNwVTNGNWZ6UFZJIn0.CnvYpPymorTFh5NBb2_PWrgH4g84y5Cys0ZKqV09Kqel61oTe7nFMiWkrzjYzWV8-Y1fHGNBxfu26QeIydx2KQ' \
-d 'refresh_token=eyJraWQiOiJzZHNpZ18yMDI0XzAwMSIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19LCJwaWRfZGF0YV9lbmMiOiJleUpyYVdRaU9pSnpaR1Z1WTE4eU1ESTBYekF3TVNJc0ltVnVZeUk2SWtFeU5UWkhRMDBpTENKaGJHY2lPaUprYVhJaWZRLi5MVFFrbTNGellyQzRvQlNXLnQzLVRCdU9BV2kxSjctb0tfVE5Ra21ON1Q3U0xYdGdELUpxNlNYMG5nb29lSU5PeWpCa2lYS2NFdVczRGl4ek9wQURBX3haUzc5V2YtRlliS2hocURQYk9remwzMi1VRUJYRTQweGNna2tCU3B5OUpzWDd4eWRCY2x6NDNZTzRqbGVMaktOV0ZFc3RKczhVbjRwU0JJRFpPV3VGR2xQcHBacERzN0lpMFcwbDR1OE9vcFdWTGI0OTJsTXdGZGxRQkdtLWh5Y1RFWmF6YmFmY3BPdGxBOFFUVVRKcTF3dzVtUW5qSEZlOGt0dHVhUml6eG9DRUxuYm51Q0pxeWFfX08zbGtWZjNaUkZsTDhOWTB4a3BVN3VHdDFsLTFxV3lPUjlIcEdxamFhcFZ3OEx5RHV6bmgyYU5yNUNwSTRCbUxiOEw1UmdPNTFCR1lTZkQxTm1UTmdsU29zTjgwaUNNU1ViLTNXZVlfLWJ1bEhqMW9QXzlQWjI3alNzTDdYcWR0OXlzMmtILXlFNnJRSk1BTkt4UDlyV3RVSG1rSTdCTVVqWGFFbk83OWFSNkU0dHZNamJmNzM2RzZYVFQzWTlGN0suY3A0S3YyaTdIMnI3Tk5TQmpHMDQ2ZyIsImV4cCI6MTc3NDk0Mzk2OSwiaWF0IjoxNzQzNDA3OTY5fQ.FhbGaTvgFbIJUat3b-ajr19rE3Q7SAOQPyAEBy290e-JGLHok7wUJ3pmZndN985byO9MLPOT60epZrUmRyxX-Q&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-client-attestation&grant_type=refresh_token&client_assertion=eyJ0eXAiOiJKV1QiLCJhbGciOiJQUzI1NiIsImp3ayI6eyJ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nmQm3bWeyAw46ImgFzqQQiyxFT8vu7Y-xL379xicKMUqfob5dLBtRfnREJDJaYuWFyQHl2uoxuCEwf_NpJUmH9G-xyOAQil_-DMYdzr0qXaWlx7L0K7ISAJn8j-BNRklJ3iaSjLF763ZS993B9_FkDt_eCMs2ipRhNXLUXXs-NEuhq64No5Zj2hYRRZvUyM8lk-D7DwIZIL-jy-aWiFjMfKMNX8d4VrRYd5EMtxptmyv_eUKA%7EeyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NjksImV4cCI6MTc0MzQwNzk5OSwiaWF0IjoxNzQzNDA3OTY5LCJqdGkiOiJ0ZXN0In0.Wmk6lpl68pLZwAjGE4b0Lnl1N0RP9U89WJclQZzuYpDP2vq77v1vBSmre4PhMt-RNHZjTrWu4Ga1VkIRa3i_Hg&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW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ciOiJFUzI1NiIsImp3ayI6eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NjksImV4cCI6MTc0MzQwNzk5OSwiaWF0IjoxNzQzNDA3OTY5LCJqdGkiOiJ0ZXN0In0.Wmk6lpl68pLZwAjGE4b0Lnl1N0RP9U89WJclQZzuYpDP2vq77v1vBSmre4PhMt-RNHZjTrWu4Ga1VkIRa3i_Hg&client_id=fed79862-af36-4fee-8e64-89e3c91091ed
Response:
HTTP/1.1 400 Bad Request
connection: close
content-type: application/json
date: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: lV8WfBnl5vAlHk7IgpLjSU
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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ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ImNydiI6IlAtMjU2Iiwia2lkIjoiNFVtaFZWc0loQnNHenBrS1FLMmkwbCIsIngiOiJibWhoNEk5cU5rRlZVMF9JUzZHYjJneEE0NEZHSkhicDV2Q3FPSlZsN0k0IiwieSI6IloxTlQwMnVXRk5JM19lR3ZBNFlIRlJ2VlI3TlVCVDlSakhOYjFYMmZsTGMiLCJhbGciOiJFUzI1NiJ9fQ.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NjksImV4cCI6MTc0MzQwNzk5OSwiaWF0IjoxNzQzNDA3OTY5LCJqdGkiOiJ0ZXN0In0.HnNrSVIhJfBk_9YrLJtHUt0yzJ98HVJvH9QJu1bL9ij7uZPbbkX76TyCFqE1txHfK_jeCK2ohguRIcESJp3M_A&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: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL3Rva2VuIiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6ImxWOFdmQm5sNXZBbE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JmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJuYmYiOjE3NDM0MDc5NjksImV4cCI6MTc0MzQwNzk5OSwiaWF0IjoxNzQzNDA3OTY5LCJqdGkiOiJ0ZXN0In0.HnNrSVIhJfBk_9YrLJtHUt0yzJ98HVJvH9QJu1bL9ij7uZPbbkX76TyCFqE1txHfK_jeCK2ohguRIcESJp3M_A&client_id=fed79862-af36-4fee-8e64-89e3c91091ed
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:29 GMT
dpop-nonce: CKtwbpAAqlXH9270YuLSXY
transfer-encoding: chunked
Content-Length: 140
{"access_token":"XveDENf0Vd7Bv3U9dXJlAk","token_type":"DPoP","expires_in":3600,"c_nonce":"Ute1PJgf8TnUpUgUFMfq9d","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 XveDENf0Vd7Bv3U9dXJlAk' \
-H 'dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0VW1oVlZzSWhCc0d6cGtLUUsyaTBsIiwieCI6ImJtaGg0STlxTmtGVlUwX0lTNkdiMmd4QTQ0RkdKSGJwNXZDcU9KVmw3STQiLCJ5IjoiWjFOVDAydVdGTkkzX2VHdkE0WUhGUnZWUjdOVUJUOVJqSE5iMVgyZmxMYyIsImFsZyI6IkVTMjU2In19.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cDovL3BpZGkubG9jYWxob3N0LmJkci5kZTo4MDgwL2MxL2NyZWRlbnRpYWwiLCJhdGgiOiJ3NDlHcHJOUGRDTjFUQnowT0pNcHZJZmtqSE1QZjlwRjRrZVh6Q0p1VmZ3IiwiaWF0IjoxNzQzNDA3OTY5LCJub25jZSI6IkNLdHdicEFBcWxYSDkyNzBZdUxTWFkiLCJqdGkiOiJGVlpGSjZsZVFOb3BRY3lDIn0.FL_EYH5V-SVKcUImltL1MDbi41j1Tn7654kNaSLWpu3xrO6IqZKYX5dyspVLX-QahwFKZbZJPNuUc2FPSwwc1w' \
-d '{"format":"mso_mdoc","doctype":"eu.europa.ec.eudi.pid.1","proof":{"jwt":"eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJraWQiOiJMRTBobmxoU0hFNUtaR21IWXR4WERBIiwieCI6IkVBc0RHdC1iWUdCLUJYdkxZWjI3MnZCZDNrV0w3bFlSWVNyRVp6OGJfRjAiLCJ5IjoiZ0VSWDRCM2ZIdDZFWVBnZ1pjTjNnQm83VWpzU1djeVkwc0ZvRlBsVEVBcyIsImFsZyI6IkVTMjU2In19.eyJpc3MiOiJmZWQ3OTg2Mi1hZjM2LTRmZWUtOGU2NC04OWUzYzkxMDkxZWQiLCJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjksIm5vbmNlIjoiVXRlMVBKZ2Y4VG5VcFVnVUZNZnE5ZCJ9.3dwLcoFqu_KIcbpazkWX5EhM7iFC9iyNPu7uaWDFHRclJr5eZll477KhE25gIp69Vaa9KwPt4QDiHMiA2slM9A","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 XveDENf0Vd7Bv3U9dXJlAk
dpop: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2Ii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CJhdWQiOiJodHRwOi8vcGlkaS5sb2NhbGhvc3QuYmRyLmRlOjgwODAvYzEiLCJpYXQiOjE3NDM0MDc5NjksIm5vbmNlIjoiVXRlMVBKZ2Y4VG5VcFVnVUZNZnE5ZCJ9.3dwLcoFqu_KIcbpazkWX5EhM7iFC9iyNPu7uaWDFHRclJr5eZll477KhE25gIp69Vaa9KwPt4QDiHMiA2slM9A","proof_type":"jwt"}}
Response:
HTTP/1.1 200 OK
content-type: application/json
date: Mon, 31 Mar 2025 07:59:29 GMT
transfer-encoding: chunked
Content-Length: 5485
{"credential":"omppc3N1ZXJBdXRohEOhASahGCFZAm0wggJpMIICD6ADAgECAhRKHLFwhkaI9XfAFGnhg6U2nUjXdjAKBggqhkjOPQQDAjCBiTELMAkGA1UEBhMCREUxDzANBgNVBAgMBmJkci5kZTEPMA0GA1UEBwwGQmVybGluMQwwCgYDVQQKDANCRFIxDzANBgNVBAsMBk1hdXJlcjEdMBsGA1UEAwwUaXNzdWFuY2UtdGVzdC5iZHIuZGUxGjAYBgkqhkiG9w0BCQEWC3Rlc3RAYmRyLmRlMB4XDTI0MDUyODA4MjIyN1oXDTM0MDQwNjA4MjIyN1owgYkxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZiZHIuZGUxDzANBgNVBAcMBkJlcmxpbjEMMAoGA1UECgwDQkRSMQ8wDQYDVQQLDAZNYXVyZXIxHTAbBgNVBAMMFGlzc3VhbmNlLXRlc3QuYmRyLmRlMRowGAYJKoZIhvcNAQkBFgt0ZXN0QGJkci5kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLKBnUxrSb26J_ifyDcKII_4TWvYpYXFWZLotFapQEyCfl84MogF-13NVJu__fyC6PLmrGH-rlstxP7IuKVrMJqjUzBRMB0GA1UdDgQWBBQwZ080wh2jeId-q3aOVOcE0J9E0DAfBgNVHSMEGDAWgBQwZ080wh2jeId-q3aOVOcE0J9E0DAPBgNVHRMBAf8EBTADAQH_MAoGCCqGSM49BAM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