Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename to credential_configuration_id #162

Conversation

Sakurann
Copy link
Collaborator

@Sakurann Sakurann commented Dec 21, 2023

applying three changes:

  • In the credential issuer metadata: credentials_supported -> credential_configurations_supported
  • in the credential offer: credentials -> credential_configurations_offered
  • In the authorization details: credentials_supported_id -> credential_configuration_id

this PR needs to be merged before #137

@Sakurann
Copy link
Collaborator Author

there is some diff not present in Paul's original PR, which i think is caused by paul's branch not being up to date with main. should be fixed in this PR when paul's branch I am pushing to is up to date with main.

@Sakurann Sakurann added this to the ID-1 milestone Dec 21, 2023
@Sakurann
Copy link
Collaborator Author

I think it is ok for this PR to be merged before pr #155 is merged, to prevent breaking changes post ID-1

openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
Copy link
Contributor

@awoie awoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, the IANA part and the tx_code change should get removed from this PR. It would be nice to get the Credential Configuration Identifier language in there if the suggested language makes sense. Otherwise looks good to me.

Copy link
Contributor

@paulbastian paulbastian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve the changes, having clear temrinology is a long-term benefit fot the specification and before ID-1 is the best time.
I also agree with Oliver, keeping the PIN and IANA section out of this PR, as it is already very large.

Kristina and others added 2 commits December 21, 2023 07:37
…authorization_details-authorization-request-parameter' of https://github.com/openid/OpenID4VCI into credential_configuration_id
Co-authored-by: Giuseppe De Marco <[email protected]>
Co-authored-by: Daniel Fett <[email protected]>
@Sakurann Sakurann requested a review from peppelinux December 21, 2023 20:11
Sakurann and others added 2 commits December 21, 2023 12:13
…authorization_details-authorization-request-parameter' into credential_configuration_id
Copy link
Contributor

@awoie awoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now. Please commit my suggestions before merging.

openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
openid-4-verifiable-credential-issuance-1_0.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@tlodderstedt tlodderstedt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok with me, however I would suggest to use credential_configurations instead of credential_configurations_offered as the parameter is used inside the credential offer. The name seems too much to me (but no hill to die on).

@@ -14,7 +14,7 @@
"locale": "fr-FR"
}
],
"credentials_supported": {
"credential_configurations_supported": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think credential_configurations is enough (as this is a credential offer already).

Copy link
Member

@c2bo c2bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @tlodderstedt that credential_configurations might be a better/easier name - apart from that it looks fine imho

@Sakurann
Copy link
Collaborator Author

good point - renamed to credential_configurations

@Sakurann Sakurann dismissed peppelinux’s stale review December 22, 2023 22:44

some of the suggested changes applied. for the rest of the bikeshedding, please do in PR 155 as this PR is scoped to changing the parameter names only and not to have a perfect terminology description.

@Sakurann Sakurann merged commit ab32991 into 102-reuse-credential-offer-identifier-from-metadata-in-authorization_details-authorization-request-parameter Dec 22, 2023
Sakurann added a commit that referenced this pull request Dec 22, 2023
…etadata (#137)

5 approvals. no objections to merge during dec-21-2023 dcp wg call. open for more than a week.

* change `authorization_details` to use `credential_description` pointing to the name of a `credentials_supported` object in the Credential Issuer's Metadata

* Update openid-4-verifiable-credential-issuance-1_0.md

Co-authored-by: Kristina <[email protected]>

* Update openid-4-verifiable-credential-issuance-1_0.md

Co-authored-by: Kristina <[email protected]>

* rename `credential_description` to `credential`

* Rename credential to credentials_supported_id

agreed on in DCP call

* Update openid-4-verifiable-credential-issuance-1_0.md

Co-authored-by: Brian Campbell <[email protected]>

* remove unnecessary parameters from the authoritazion details in Appendix E

* fix json in example

* rename to credential_configuration_id (#162)

6 approvals. general agreement to merge this during Dec-21-2023 WG call. some comments remain to be addressed in other PRs (mainly 155), as this PR is scoped to change the parameter name changes and not to have a perfect terminology.

* change to credential_configuration_id

* change to credential_configurations_offered

* rename to credential_configurations_supported

* Apply suggestions from code review

Co-authored-by: Giuseppe De Marco <[email protected]>
Co-authored-by: Daniel Fett <[email protected]>

* rename to credential_configurations credential offer parameter

* clarify there is no polymorphism

Co-authored-by: Oliver Terbu <[email protected]>

* editorial

---------

Co-authored-by: Kristina <=>
Co-authored-by: Giuseppe De Marco <[email protected]>
Co-authored-by: Daniel Fett <[email protected]>
Co-authored-by: Oliver Terbu <[email protected]>

---------

Co-authored-by: Kristina <[email protected]>
Co-authored-by: Brian Campbell <[email protected]>
Co-authored-by: Giuseppe De Marco <[email protected]>
Co-authored-by: Daniel Fett <[email protected]>
Co-authored-by: Oliver Terbu <[email protected]>
@Sakurann
Copy link
Collaborator Author

this PR addresses renaming part of issue #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants