0

build-guacamole makes reference to setting up openid. In fact some allow you to pass -e to the docker image and get the official openId version of guacamole. The official documentation makes reference to openid as well. So, I know that setting up keycloak (openid) should be possible. Official Apache Guacamole Docker doesn't have instructions on how it needs, or how to give it the environmental variables for it to work. Do I enable it somehow by passing an extension, as in oznu docker guacamole version, or is it included? Does it need these urls?

So far my docker-compose:

depends_on:
    - guacd
    - postgres
    environment:
      GUACD_HOSTNAME: guacd
     #POSTGRES_DATABASE: guacamole_db
      #POSTGRES_HOSTNAME: postgres
      #POSTGRES_PASSWORD: ChooseYourOwnPasswordHere1234
      #POSTGRES_USER: guacamole
      OPENID_AUTHORIZATION_ENDPOINT: http://keycloak:8080/auth/realms/master/protocol/openid-connect/auth
      OPENID_JWKS_ENDPOINT: http://keycloak:8080/auth/realms/master/protocol/openid-connect/certs
      OPENID_ISSUER: http://keycloak:8080/auth/realms/master
      OPENID_CLIENT_ID: guacamole
      OPENID_REDIRECT_URI: https://localhost:9443/
    image: guacamole/guacamole
    links:
    - guacd
    networks:
      guacnetwork_compose:
    ports:
## enable next line if not using nginx
##    - 8080:8080/tcp
## enable next line when using nginx
    - 8080/tcp

Does the official apache docker not support openid extension? if it does, why does my docker crash when I add these env?

TheBetterJORT
  • 808
  • 9
  • 22
  • The Guacamole Docker container needs at least one authentication mechanism in order to function, such as a MySQL database, PostgreSQL database, or LDAP directory. Please specify at least the MYSQL_DATABASE or POSTGRES_DATABASE environment variables, or check Guacamole's Docker documentation regarding configuring LDAP and/or custom extensions. FATAL: No authentication configured – TheBetterJORT Mar 12 '19 at 22:45

0 Answers0