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

Support user attributes section for sub org applications #22707

Closed
SujanSanjula96 opened this issue Feb 1, 2025 · 2 comments
Closed

Support user attributes section for sub org applications #22707

SujanSanjula96 opened this issue Feb 1, 2025 · 2 comments

Comments

@SujanSanjula96
Copy link
Contributor

SujanSanjula96 commented Feb 1, 2025

Current Limitation

Currently, user attributes section is not available in sub org applications.

Image

Suggested Improvement

We need to add the user attributes section to configure requested scopes and attributes in sub org applications

Version

7.1.0-alpha

@ShanChathusanda93
Copy link
Contributor

ShanChathusanda93 commented Feb 5, 2025

Hi Team,

This is fixed with the following PRs [1] and [2]. Please refer the following screenshots for more details.

  • User Attributes in sub organization application

Image

Image

  • Getting the configured details from the ID token
{
  "at_hash": "9Rbhh915zuGor8-_Jh61OQ",
  "sub": "a944ac96-fac5-4b03-886b-728aaabe08c7",
  "address": {
    "country": "Sri Lanka"
  },
  "amr": [
    "password"
  ],
  "roles": "Sub Org App User Manager",
  "iss": "https://localhost:9443/oauth2/token",
  "groups": [
    "Manager"
  ],
  "aud": "JjG_xAo5qa9fZys4FdO_AYb4rTwa",
  "user_org": "40774be4-3d3b-4d41-ac7d-730fd85176fe",
  "nbf": 1738736516,
  "azp": "JjG_xAo5qa9fZys4FdO_AYb4rTwa",
  "org_id": "40774be4-3d3b-4d41-ac7d-730fd85176fe",
  "exp": 1738740116,
  "org_name": "sub001",
  "iat": 1738736516,
  "jti": "bf19bde5-dac5-411c-90d8-3d23e5d5b5ed"
}

[1] wso2/carbon-identity-framework#6423
[2] wso2/identity-apps#7496

@ShanChathusanda93
Copy link
Contributor

Closing the issue since this is fixed.
cc : @AnuradhaSK @SujanSanjula96

@github-project-automation github-project-automation bot moved this from In Progress to Done in Identity Server 7.1.0 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants