Skip to content

Commit

Permalink
Fix Oauth2 proxy with socket
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot authored Oct 29, 2024
1 parent 036ffbf commit f933a5a
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 @@ -129,11 +128,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 f933a5a

Please sign in to comment.