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

Unable to install the extension #184

Closed
1 task done
nmanthena18 opened this issue Jul 18, 2023 · 0 comments
Closed
1 task done

Unable to install the extension #184

nmanthena18 opened this issue Jul 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nmanthena18
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

  1. After adding SPI in the provider folder executing build command I am getting this logs, I am not sure whether the SPI installed correctly or not

logs:
`admin:~/keycloak/keycloak-22.0.0/bin$ ./kc.sh build
Updating the configuration and installing your custom providers, if any. Please wait.
2023-07-18 10:26:09,542 WARN [org.keycloak.services] (build-25) KC-SERVICES0047: restrict-client-auth-authenticator (de.sventorben.keycloak.authorization.client.RestrictClientAuthAuthenticatorFactory) is implementing the internal SPI authenticator. This SPI is internal and may change without notice
2023-07-18 10:26:09,580 WARN [org.keycloak.services] (build-25) KC-SERVICES0047: policy (de.sventorben.keycloak.authorization.client.access.policy.PolicyBasedAccessProviderFactory) is implementing the internal SPI restrict-client-auth-access-provider. This SPI is internal and may change without notice
2023-07-18 10:26:09,580 WARN [org.keycloak.services] (build-25) KC-SERVICES0047: client-role (de.sventorben.keycloak.authorization.client.access.role.ClientRoleBasedAccessProviderFactory) is implementing the internal SPI restrict-client-auth-access-provider. This SPI is internal and may change without notice
2023-07-18 10:26:09,599 WARN [org.keycloak.services] (build-25) KC-SERVICES0047: restrict-client-auth-auto-config (de.sventorben.keycloak.authorization.client.clientpolicy.executor.AutoConfigClientPolicyExecutorFactory) is implementing the internal SPI client-policy-executor. This SPI is internal and may change without notice
2023-07-18 10:26:09,940 WARN [org.keycloak.services] (build-25) KC-SERVICES0047: restrict-client-auth-enabled (de.sventorben.keycloak.authorization.client.clientpolicy.condition.RestrictedClientAuthEnabledPolicyConditionProviderFactory) is implementing the internal SPI client-policy-condition. This SPI is internal and may change without notice
2023-07-18 10:26:09,950 WARN [io.quarkus.arc.deployment.SplitPackageProcessor] (build-19) Detected a split package usage which is considered a bad practice and should be avoided. Following packages were detected in multiple archives:

  • "de.sventorben.keycloak.authorization.client.access.policy" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client.clientpolicy.executor" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client.clientpolicy.condition" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client.access.role" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client.common" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
  • "de.sventorben.keycloak.authorization.client.access" found in [/home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth-22.0.0.jar, /home/ggadmin/keycloak/keycloak-22.0.0/lib/../providers/keycloak-restrict-client-auth.jar]
    2023-07-18 10:26:10,344 WARN [io.quarkus.arc.processor.BeanArchives] (build-24) Failed to index org.keycloak.models.map.storage.jpa.JpaMapStorageProviderFactory: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD@592e843a
    2023-07-18 10:26:10,345 INFO [io.quarkus.arc.processor.IndexClassLookupUtils] (build-24) Class for name: org.keycloak.models.map.storage.jpa.JpaMapStorageProviderFactory was not found in Jandex index. Please ensure the class is part of the index.
    2023-07-18 10:26:12,198 INFO [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 3973ms
    Server configuration updated and persisted. Run the following command to review the configuration:`

2.I dont see any option which is metioned in the document
Configure the **authenticator** by clicking on **Actions** -> **Config** and select client-role as the Access Provider.

image

image

Expected Behavior

it should provide the UI to create client role

Steps To Reproduce

Download latest jar from the link https://github.com/sventorben/keycloak-restrict-client-auth/releases/download/v22.0.0/keycloak-restrict-client-auth.jar

${kc.home.dir}/bin/kc.sh build

Version

- Keycloak:22.0.0
- This extension:22.0.0

Anything else?

No response

@nmanthena18 nmanthena18 added the bug Something isn't working label Jul 18, 2023
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

1 participant