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

feat (jans-config-api) : need endpoint to fetch uma resource by client_id #1879

Closed
duttarnab opened this issue Jul 26, 2022 · 4 comments · Fixed by #1965
Closed

feat (jans-config-api) : need endpoint to fetch uma resource by client_id #1879

duttarnab opened this issue Jul 26, 2022 · 4 comments · Fixed by #1965
Assignees
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request

Comments

@duttarnab
Copy link
Contributor

Is your feature request related to a problem? Please describe.

As per the new oidc client view screen designs we need to show the UMA resources created by the client along with other client details.

For this functionality need to add endpoints in config-api to fetch uma resources by client_id.

GET [/jans-config-api/api/v1/uma/resources/{clientId}

ref; https://github.com/JanssenProject/jans/wiki/CLI_V2

image

@duttarnab duttarnab added comp-jans-config-api Component affected by issue or PR kind-feature Issue or PR is a new feature request enhancement labels Jul 26, 2022
@yuriyz
Copy link
Contributor

yuriyz commented Jul 26, 2022

You can use AS code for reference to add it

public List<UmaResource> getResourcesByAssociatedClient(String associatedClientDn) {

@pujavs
Copy link
Contributor

pujavs commented Jul 27, 2022

thanks @yuriyz for the reference

@pujavs
Copy link
Contributor

pujavs commented Jul 27, 2022

Implemented via PR 1912
UmaResource : New endpoint /jans-config-api/api/v1/resources/clients/{clientid}
Note you need to pass clientid and not DN

Testing Evidence:
image

@pujavs
Copy link
Contributor

pujavs commented Jul 28, 2022

Closing the issue as changes merged into main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants