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

Add support for claims request parameter #4

Open
3 of 4 tasks
nanderstabel opened this issue Mar 27, 2023 · 0 comments
Open
3 of 4 tasks

Add support for claims request parameter #4

nanderstabel opened this issue Mar 27, 2023 · 0 comments
Assignees

Comments

@nanderstabel
Copy link
Collaborator

nanderstabel commented Mar 27, 2023

Description

The library should be able to add the request for claims in the SIOP Requests and the Provider should be able to handle those claims accordingly. As specified in the OICD-core standard, claims can be requested by the Relying Party using the claims request parameter.

There are two types of claims:

  • 'self-attested' claims, as specified in the SIOPv2 standard
  • cryptographically verifiable claims issued by trusted third-party sources as described in OpenID4VP

Both of them need to be implemented.

Motivation

In OpenID Connect, a claim is a piece of information about the user, such as their name or email address, that the Relying Party can request from the OpenID Provider. The claims request parameter is used by the Relying Party to specify which claims it wants to receive in the ID token or UserInfo response.

The claims parameter value is a JSON object that describes the set of requested claims, including the name of the claim and any additional parameters needed to process the claim. The OpenID Provider may or may not provide the requested claims based on the user's consent and the authorization policies of the Provider.

By adding support for the claims request parameter, our library will allow Relying Parties to request specific claims about the user and receive them in a standardized way, making it easier for them to integrate with our library and comply with OpenID Connect standards.

Resources

OICD-core claims specification
SIOP-v2
OpenID4VP

To-do List

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

No branches or pull requests

1 participant