Missing dependency "keycloak-spring-security-adapter" when using RH-SSO spring-boot adapter

Solution Verified - Updated -

Issue

  • My project is not finding keycloak-spring-security-adapter when using downstream spring-boot adapter (https://maven.repository.redhat.com/ga repository).

  • When using keycloak-spring-boot-starter with the downstream Red Hat repository maven complains about missing keycloak-spring-security-adapter dependency.

    [ERROR] Failed to execute goal on project example: Could not resolve dependencies for project com.example:example:jar:0.0.1-SNAPSHOT: Failure to find org.keycloak:keycloak-spring-security-adapter:jar:3.4.3.Final-redhat-2 in https://maven.repository.redhat.com/ga was cached in the local repository, resolution will not be reattempted until the update interval of redhat has elapsed or updates are forced -> [Help 1]
    

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7
  • Spring-boot adapter

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In