Skip to content

Commit

Permalink
fix: extract identifier from cred sup create
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Nov 16, 2023
1 parent d829292 commit dc6bfe9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions oid4vci/oid4vci/v1_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ async def get_cred_offer(request: web.BaseRequest):

# TODO: check that the credential_issuer_url is associated with an issuer DID
# TODO: check that the credential requested,
# TODO:(this check should be done in exchange record creation) is offered by the issuer
# TODO:(this check should be done in exchange record creation) is offered
# by the issuer

# Generate secure code
code = bytes_to_b64(secrets.token_bytes(code_size), urlsafe=True, pad=False)
Expand Down Expand Up @@ -287,7 +288,7 @@ async def credential_supported_create(request: web.Request):
k: body.pop(k)
for k in (
"format",
# "id",
"identifier",
"cryptographic_binding_methods_supported",
"cryptographic_suites_supported",
"display",
Expand Down

0 comments on commit dc6bfe9

Please sign in to comment.