Git Product home page Git Product logo

Comments (4)

manfredsteyer avatar manfredsteyer commented on June 12, 2024

Thx for this info. In the current version I did this on purpose, cause when it comes to the password flow there isn't a id_token and I assumed that in most cases the claims in the id_token are a subset of the claims from the user-profile-endpoint.

Isn't this true in your case?
To provide an uniform way to access the claims, would it work for you if the claims from the user-profile-endpoint and the claims from the id_token would be merged?

from angular-oauth2-oidc.

ozonni avatar ozonni commented on June 12, 2024

This is a thing, as i understood from here ID token doesn't have user's claims. In order to get user info i need to call UserInfo Endpoint. At least my identity server doesn't include user's claims into id token.

from angular-oauth2-oidc.

CrescentFresh avatar CrescentFresh commented on June 12, 2024

FWIW id tokens can have user claims. Our idp does include some minimal user clams (profile related) in the id token.

from angular-oauth2-oidc.

manfredsteyer avatar manfredsteyer commented on June 12, 2024

The next version which lands in a few days will merge the received claims with existing claims (from the id_token).

from angular-oauth2-oidc.

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.