Skip to content

Commit

Permalink
Fix Oauth2 proxy with socket (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot authored Oct 30, 2024
2 parents 7cf75eb + f933a5a commit 5c2a53f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/installer/templates/interlink-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ start() {
$HOME/.interlink/bin/oauth2-proxy \
--client-id "{{.OAUTH.ClientID}}" \
--client-secret "\"{{.OAUTH.ClientSecret}}\"" \
--http-address unix://${HOME}/.interlink/interlink.sock \
--oidc-issuer-url "{{.OAUTH.Issuer}}" \
--pass-authorization-header true \
--provider oidc \
--redirect-url http://localhost:8081 \
--oidc-extra-audience {{.OAUTH.Audience}} \
--upstream http://localhost:30080 \
--upstream unix://${HOME}/.interlink/interlink.sock \
--allowed-group {{.OAUTH.Group}} \
--validate-url {{.OAUTH.TokenURL}} \
--oidc-groups-claim {{.OAUTH.GroupClaim}} \
Expand All @@ -128,11 +127,10 @@ start() {
$HOME/.interlink/bin/oauth2-proxy \
--client-id {{.OAUTH.ClientID}} \
--client-secret {{.OAUTH.ClientSecret}} \
--http-address unix://$HOME/.interlink/interlink.sock \
--pass-authorization-header true \
--provider github \
--redirect-url http://localhost:8081 \
--upstream http://localhost:30080 \
--upstream unix://$HOME/.interlink/interlink.sock \
--email-domain="*" \
--github-user="{{.OAUTH.GitHUBUser}}" \
--cookie-secret 2ISpxtx19fm7kJlhbgC4qnkuTlkGrshY82L3nfCSKy4= \
Expand Down

0 comments on commit 5c2a53f

Please sign in to comment.