[keycloak-user] keycloak-quickstart not working

Alfonso Vidal García avidal at gmv.com
Tue Oct 8 06:46:28 EDT 2019


Hello everyone!


I am trying to deploy a keycloak-quickstart, the app-authz-spring-security one, modified with my parameters but I can't access to the app through the browser, it always give me the 404 error NOT FOUND.


I have the application.properties like this:


server.port = 38080
keycloak.realm=FocusocKeycloak
keycloak.auth-server-url=http://localhost:8080/auth
keycloak.ssl-required=external
keycloak.resource=login-provider-web
keycloak.public-client=false
keycloak.credentials.secret=secret
keycloak.securityConstraints[0].authRoles[0] = user
keycloak.securityConstraints[0].securityCollections[0].name = protected
keycloak.securityConstraints[0].securityCollections[0].patterns[0] = /*

# Turn off the logs
logging.level.root=OFF
logging.level.org.springframework.boot=OFF
spring.main.banner-mode=OFF


And the keycloak.json


{
  "realm": "FocusocKeycloak",
  "auth-server-url": "http://127.0.0.1:8080/auth",
  "ssl-required": "external",
  "resource": "login-app",
  "verify-token-audience": true,
  "credentials": {
    "secret": "145ca6f7-19c8-4478-b092-ba685a52d985"
  },
  "use-resource-role-mappings": true,
  "confidential-port": 0
}


It is the only thing that I modified. Any suggestion? Thanks in advance!

P Please consider the environment before printing this e-mail.


More information about the keycloak-user mailing list