Skip to content

Commit

Permalink
use identifier in credential offer
Browse files Browse the repository at this point in the history
  • Loading branch information
patatoid committed Jan 5, 2024
1 parent 84ebf33 commit 2745ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/boruta/openid/responses/credential_offer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule Boruta.Openid.CredentialOfferResponse do
resource_owner: resource_owner
}) do
credentials = Enum.flat_map(resource_owner.authorization_details, fn detail ->
detail["credential_definition"]["type"]
detail["credential_definition"]["id"]
end)
|> Enum.uniq()
%__MODULE__{
Expand Down

0 comments on commit 2745ac4

Please sign in to comment.