jjbohn / omniauth-openid-connect

MIT License
62 stars 126 forks source link

Add support for (optional) claims request parameter #52

Open harmjanblok opened 8 years ago

harmjanblok commented 8 years ago

Quote from the OpenID Connect specification:

OpenID Connect defines the following Authorization Request parameter to enable requesting individual Claims.

The claims Authentication Request parameter requests that specific Claims be returned from the UserInfo Endpoint and/or in the ID Token. It is represented as a JSON object containing lists of Claims being requested from these locations. Properties of the Claims being requested MAY also be specified.

http://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 99.485% when pulling ecce3b00e3e2eff8ae9dd49604469f565f4901df on harmjanblok:claims-request-parameter into 849b181551a61f732f9990dd7ad58c258b970019 on jjbohn:master.