git.iko.soy/typeable/oauth2-proxy
on master help sign in
fix lint error
commit0d94f5e51597628a5dc920a723290a73e6d59695 authorRyan Luckie <rluckie@cisco.com> dateFri 3 May 2019, 23:07 (7 years ago) parent2eecf75
1 file changed+2−2
providers/oidc.go+2−2
providers/oidc.go+2−2
@@ -173,9 +173,9 @@ func (p *OIDCProvider) ValidateSessionState(s *sessions.SessionState) bool {
173173 return true
174174}
175175
176−func getOIDCHeader(access_token string) http.Header {
176+func getOIDCHeader(accessToken string) http.Header {
177177 header := make(http.Header)
178178 header.Set("Accept", "application/json")
179− header.Set("Authorization", fmt.Sprintf("Bearer %s", access_token))
179+ header.Set("Authorization", fmt.Sprintf("Bearer %s", accessToken))
180180 return header
181181}