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

Claims parameter should be configured as a dictionary #109

Open
miwig opened this issue Nov 8, 2024 · 1 comment
Open

Claims parameter should be configured as a dictionary #109

miwig opened this issue Nov 8, 2024 · 1 comment

Comments

@miwig
Copy link
Collaborator

miwig commented Nov 8, 2024

OIDC spec:

claims
    OPTIONAL. This parameter is used to request that specific Claims be returned.  
    The value is a JSON object listing the requested Claims. 

We can specify this in the config as a yaml dict (to avoid ugly escaped-json-in-a-string) and serialize it into a json string for the request. serde_json::Map or (if must be) serde_json::Value may be appropriate types for this.

@antonengelhardt
Copy link
Owner

Maybe as part of #99 to avoid more breaking changes

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

2 participants