Skip to content

Commit

Permalink
Merge pull request openshift#1453 from ericchiang/no-refresh
Browse files Browse the repository at this point in the history
server: handle case where dex doesn't return a refresh token
  • Loading branch information
ericchiang authored Apr 6, 2017
2 parents 87885e2 + 560a03d commit d031ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ users:
client-secret: {{ .ClientSecret }}
id-token: {{ .IDToken }}{{ if .DexCA }}
idp-certificate-authority-data: {{ .DexCA }}{{ end }}
idp-issuer-url: {{ .DexURL }}
refresh-token: {{ .RefreshToken }}
idp-issuer-url: {{ .DexURL }}{{ if .RefreshToken }}
refresh-token: {{ .RefreshToken }}{{ end }}
name: oidc
preferences: {}
Expand Down

0 comments on commit d031ac9

Please sign in to comment.