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

Authorization scope import ignores display name and icon URI #1180

Open
JanneSaukkio opened this issue Nov 2, 2024 · 0 comments · May be fixed by #1181
Open

Authorization scope import ignores display name and icon URI #1180

JanneSaukkio opened this issue Nov 2, 2024 · 0 comments · May be fixed by #1181
Labels

Comments

@JanneSaukkio
Copy link

Current Behavior

When importing authorization scopes display name and icon URI configuration properties are ignored. The ScopeRepresentation class has displayName and iconUri properties but only the name property is imported.

Expected Behavior

No response

Steps To Reproduce

1. Import client with following scopes:


"scopes": [
  {
    "name": "test:scope"
  },
  {
    "name": "other:scope",
    "displayName": "Fancy name",
    "iconUri": "path/to/favicon.ico"
  }
]
  1. Observe that two scopes were imported but without display name and icon URI


### Environment

- Keycloak Version: 25.0.1
- keycloak-config-cli Version: 6.x
- Java Version: 21


### Anything else?

_No response_
@JanneSaukkio JanneSaukkio linked a pull request Nov 2, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant