Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure --vendor-only
COPY ./ ${PROJECT_PATH}
RUN export PATH=$PATH:`go env GOHOSTOS`-`go env GOHOSTARCH` \
&& CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --ldflags '-extldflags "-static"' -o bin/saml-proxy main.go \
&& CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --ldflags '-extldflags "-static"' -o bin/saml-proxy . \
&& go test $(go list ./... | grep -v /vendor/)

# Production image
Expand Down
136 changes: 50 additions & 86 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions config-multihost.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
listen_interface: 0.0.0.0
listen_port: 9090

hosts:
- service_root_url: http://auth1.example.com:9090
allow_idp_initiated: true
idp_metadata_url: https://rwtest.auth0.com/samlp/metadata/test
targets:
- https://randywestergren.com
no_cache: true
add_attributes_as_headers:
- memberOf
- Username
- service_root_url: http://test.localhost:9090
allow_idp_initiated: true
idp_metadata_url: https://rwtest.auth0.com/samlp/metadata/test2
targets:
- https://randywestergren.com
- http://localhost:8080

cert_path: myservice.cert
key_path: myservice.key

cookie_max_age: 4h



# panic, fatal, error, warn, info, debug
# debug logs cookie information!
log_level: info
25 changes: 0 additions & 25 deletions config.example.yaml

This file was deleted.

Loading