-
Notifications
You must be signed in to change notification settings - Fork 24
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
Client Identifier Schemes violate RFC 3986 #376
Comments
Despite the name "Client Identifier Scheme" including the word "Scheme" and the use of a ":" as the prefix delimiter, these were never AFAIK intended to be URIs with valid or registered URI schemes. I believe that it would be much less confusing/misleading to use a different character or short set of characters as the prefix delimiter and not give special treatment to Federation and DIDs. |
The conversation yesterday did also mention renaming schemes to types to avoid confusion with URI schemes |
|
There has been discussion of using scheme vs. type vs. some synonym-ish thereof. But again I believe much of the confusion would be avoided by the use of a different character or short set of characters as the prefix delimiter and not giving special treatment to Federation and DIDs. |
The current mix of underscore and dashes definitely seems weird. We should try to at least align the client id schemes (or however we call them) at that point. |
Please see #401 |
Among the client identifier schemes defined in "Section 5.10.4. Defined Client Identifier Schemes" of OpenID4VP,
redirect_uri
,verifier_attestation
,x509_san_dns
, andx509_san_uri
violate the scheme definition in "Section 3.1. Scheme" of "RFC 3986 Uniform Resource Identifier (URI): Generic Syntax". Simply put, scheme strings must not include underscores. Is the DCP WG aware of this?The name "Client Identifier Scheme" is misleading enough to make people believe it is valid as a URI scheme. Unless there is a strong reason to prefer underscores over hyphens, I believe it would be better to change them to
redirect-uri
,verifier-attestation
,x509-san-dns
, andx509-san-uri
. This would also make it easier to parse client identifiers as URIs in many programming languages, simplifying the process of extracting client identifier schemes. For reference, I’ve attached experimental codes in Java and Ruby, and their result.Result (Both programs output the same result):
The text was updated successfully, but these errors were encountered: