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

fix(admin-ui): hindrance on client scope assignment #502

Closed
moabu opened this issue Oct 7, 2022 · 6 comments
Closed

fix(admin-ui): hindrance on client scope assignment #502

moabu opened this issue Oct 7, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@moabu
Copy link
Member

moabu commented Oct 7, 2022

In the latest version of the AdminUI deployed with 1.0.3 Jan's and MySQL as the backend db, it is not possible to properly assign scopes for a client:

  • newly created scopes don't show up in the drop-down list of scopes to pick
  • when updating the scopes of a client and attempting to persist it, following error is returned by the server:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`) at [Source: (org.eclipse.jetty.server.HttpInput); line: 1, column: 168] (through reference chain: io.jans.as.common.model.registration.Client["clientName"])
@moabu moabu added the bug Something isn't working label Oct 7, 2022
@moabu moabu assigned moabu and duttarnab and unassigned moabu Oct 7, 2022
@duttarnab
Copy link
Contributor

newly created scopes don't show up in the drop-down list of scopes to pick

We will fix this issue

when updating the scopes of a client and attempting to persist it, the following error is returned by the server:

We are waiting for the fix of the below issues to resolve this problem.
JanssenProject/jans#1765
JanssenProject/jans#1482

@mjatin-dev
Copy link
Contributor

newly created scopes don't show up in the drop-down list of scopes to pick
-- This issue is because of the limit to get API records as we have implemented server side pagination now so it will fetch only 50 records.
-- (Temporary fix) Fixed this issue for now by setting limit to 100 in the API call.

-- (Permanent Fix) we need to make API cable to search multiple items (and need to implement server side search in the existing field)

@duttarnab
Copy link
Contributor

newly created scopes don't show up in the drop-down list of scopes to pick

-- (Permanent Fix) we need to make API cable to search multiple items (and need to implement server side search in the existing field)

we have implemented the fix in config-api and admin-ui

@moabu
Copy link
Member Author

moabu commented Nov 9, 2022

has this issue been fixed ? I still can't add scopes to clients and view them; its still not working as expected.

@duttarnab
Copy link
Contributor

Hi @moabu we have tested today. We are able to assign newly created scopes to clients.
image

@duttarnab
Copy link
Contributor

newly created scopes don't show up in the drop-down list of scopes to pick
Fixed
when updating the scopes of a client and attempting to persist it, following error is returned by the server:
Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants