You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-11-29 22:48:19 +02:00
Use logger instead of log
This commit is contained in:
@@ -1185,7 +1185,7 @@ func TestGetJwtSession(t *testing.T) {
|
|||||||
assert.Equal(t, session.IDToken, goodJwt)
|
assert.Equal(t, session.IDToken, goodJwt)
|
||||||
|
|
||||||
jwtProviderServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
jwtProviderServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
log.Printf("%#v", r)
|
logger.Printf("%#v", r)
|
||||||
var payload string
|
var payload string
|
||||||
payload = r.Header.Get("Authorization")
|
payload = r.Header.Get("Authorization")
|
||||||
if payload == "" {
|
if payload == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user