daml/triggers/service
Andreas Herrmann a226324afa
Use cliopts.Http for OAuth 2.0 middleware (#8671)
* Use cliopts.Http for OAuth 2.0 middleware

changelog_begin
- [OAuth 2.0 Middleware] You can now configure the address that the
  middleware listens to using the ``--address`` flag.
  The port that the middleware listens to is now configured using the
  ``--http-port`` flag, use 0 to dynamically choose a free port.
  You can now configure a port file where the chosen port will be
  written to using the ``--port-file`` flag.
changelog_end

* Add test-case for OAuth 2.0 middleware port file

* Don't forget to close source

* Fix integration test

* Update triggers/service/auth/src/main/scala/com/daml/auth/middleware/oauth2/Config.scala

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2021-01-29 09:32:07 +00:00
..
auth Use cliopts.Http for OAuth 2.0 middleware (#8671) 2021-01-29 09:32:07 +00:00
release Rename targets (#5950) 2020-05-12 16:00:15 -04:00
src Use cliopts.Http for OAuth 2.0 middleware (#8671) 2021-01-29 09:32:07 +00:00
test-model update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
authentication.md Don't always redirect to /login automatically (#8532) 2021-01-18 14:03:39 +00:00
BUILD.bazel Don't always redirect to /login automatically (#8532) 2021-01-18 14:03:39 +00:00
daml-platform.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
hash-migrations.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00