Code Monkey home page Code Monkey logo

Comments (4)

toupeira avatar toupeira commented on July 18, 2024

The spec has this to say:

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

The Claims requested by the profile, email, address, and phone scope values are returned from the UserInfo Endpoint, as described in Section 5.3.2, when a response_type value is used that results in an Access Token being issued. However, when no Access Token is issued (which is the case for the response_type value id_token), the resulting Claims are returned in the ID Token.

This is currently not implemented, i.e. additional claims are always returned from the UserInfo endpoint. We also don't support response_type=id_token yet, or the claims parameter which would allow the client to specify where each claim should be returned (see http://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).

I don't have any plans to implement this yet, but I want to improve the UserInfo endpoint so it filters any Standard Claims that aren't covered by the requested scopes.

from doorkeeper-openid_connect.

aisensiy avatar aisensiy commented on July 18, 2024

@gilbertquri

https://github.com/aisensiy/doorkeeper-openid_connect I have a fork and implement a way to extend the claims in id token.

from doorkeeper-openid_connect.

toupeira avatar toupeira commented on July 18, 2024

See related discussion in #40

from doorkeeper-openid_connect.

toupeira avatar toupeira commented on July 18, 2024

Also note that support for response_type=id_token was added recently in #45

from doorkeeper-openid_connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.