Verified Commit 3b4e2f5b authored by Raphael Mäder's avatar Raphael Mäder
Browse files

Use new authentication flow for filemanager

Issue: PLAY-155
parent 94d3900b
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for build.sbt: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -142,8 +142,8 @@ lazy val server = (project in file("server"))
          "/var/www/html/thumbs" `:` s"$uploadsFolder/thumbs"
        ),
        environment = Map(
          "AUTH_HOST" -> "app", // This works because it's in the container's /etc/hosts
          "AUTH_PORT" -> "9000"
          "AUTH_BASE_URL" -> "http://app:9000", // This works because `app` is in the container's /etc/hosts
          "AUTH_VALIDATE_SSL" -> "false"
        )
      )
    )
+4 −0
Changes for server/conf/application.conf: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ application.baseUrl = "https://"${application.host}
play.http.secret.key="changeme"
play.http.secret.key=${?APPLICATION_SECRET}

# Session
# ~~~~~
play.http.session.domain = ${?SESSION_DOMAIN}

# The application languages
# ~~~~~
play.i18n.langs = ["en", "de"]