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

Consider recommending a way to encode other data types. #225

Open
danielfett opened this issue Apr 2, 2024 · 2 comments
Open

Consider recommending a way to encode other data types. #225

danielfett opened this issue Apr 2, 2024 · 2 comments

Comments

@danielfett
Copy link
Member

The spec should define a way to support other data types. Pictures of the credential holders will be a common case, but other data types might occur as well.

OpenID Connect already defines a claim:

picture string URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image.

In that sense, we could just recommend that data types other than the native JSON types should be encoded, for example, as data URIs (that would be compatible to the definition of picture above).

@babisRoutis
Copy link

Hi @danielfett

I find your proposal really useful.

"Data URIs" are those described in RFC2397 ?

@awoie
Copy link
Collaborator

awoie commented Oct 10, 2024

I'm supportive of this approach as well.

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

No branches or pull requests

3 participants