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 for client authz/resource-server/import API? #366

Open
ymmemo opened this issue Sep 14, 2022 · 2 comments
Open

support for client authz/resource-server/import API? #366

ymmemo opened this issue Sep 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ymmemo
Copy link

ymmemo commented Sep 14, 2022

Is your feature request related to a problem? Please describe.
I can't find the RestAPI
POST /auth/admin/realms/realm/clients/clientID/authz/resource-server/import

keycloak console:
https://wjw465150.gitbooks.io/keycloak-documentation/content/authorization_services/topics/resource-server/import-config.html

Describe the solution you'd like
Add support for client authz/resource-server/import API?

Describe alternatives you've considered
POST API directly

@ymmemo
Copy link
Author

ymmemo commented Sep 15, 2022

Sorry, I try to POST this API, but I got error
{ "error": "HTTP 401 Unauthorized" }

Can this API be implemented from the backend (Not from keycloak console)?

@Nerzal
Copy link
Owner

Nerzal commented Sep 16, 2022

Should be possible to implement.
But importing Configs is tricky in Keycloak, as some configs can contain scripts, which have special requirements for imports and keycloak need to be configured for that. In newer keycloak versions it is even more complicated to import configs.

@Nerzal Nerzal added the enhancement New feature or request label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants