@@ -1040,7 +1040,7 @@ func (f *FakeIDP) httpHandler(t testing.TB) http.Handler {
1040
1040
}))
1041
1041
1042
1042
mux .Handle (keysPath , http .HandlerFunc (func (rw http.ResponseWriter , r * http.Request ) {
1043
- f .logger .Info (r .Context (), "http call idp /keys" , slogRequestFields (r ))
1043
+ f .logger .Info (r .Context (), "http call idp /keys" , slogRequestFields (r )... )
1044
1044
set := jose.JSONWebKeySet {
1045
1045
Keys : []jose.JSONWebKey {
1046
1046
{
@@ -1054,7 +1054,7 @@ func (f *FakeIDP) httpHandler(t testing.TB) http.Handler {
1054
1054
}))
1055
1055
1056
1056
mux .Handle (deviceVerify , http .HandlerFunc (func (rw http.ResponseWriter , r * http.Request ) {
1057
- f .logger .Info (r .Context (), "http call device verify" , slogRequestFields (r ))
1057
+ f .logger .Info (r .Context (), "http call device verify" , slogRequestFields (r )... )
1058
1058
1059
1059
inputParam := "user_input"
1060
1060
userInput := r .URL .Query ().Get (inputParam )
@@ -1111,7 +1111,7 @@ func (f *FakeIDP) httpHandler(t testing.TB) http.Handler {
1111
1111
}))
1112
1112
1113
1113
mux .Handle (deviceAuth , http .HandlerFunc (func (rw http.ResponseWriter , r * http.Request ) {
1114
- f .logger .Info (r .Context (), "http call device auth" , slogRequestFields (r ))
1114
+ f .logger .Info (r .Context (), "http call device auth" , slogRequestFields (r )... )
1115
1115
1116
1116
p := httpapi .NewQueryParamParser ()
1117
1117
p .RequiredNotEmpty ("client_id" )
@@ -1173,7 +1173,7 @@ func (f *FakeIDP) httpHandler(t testing.TB) http.Handler {
1173
1173
}))
1174
1174
1175
1175
mux .NotFound (func (rw http.ResponseWriter , r * http.Request ) {
1176
- f .logger .Error (r .Context (), "http call not found" , slogRequestFields (r ))
1176
+ f .logger .Error (r .Context (), "http call not found" , slogRequestFields (r )... )
1177
1177
t .Errorf ("unexpected request to IDP at path %q. Not supported" , r .URL .Path )
1178
1178
})
1179
1179
0 commit comments