diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index 134ba8f..230ce7d 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -154,7 +154,7 @@ func (r *queryResolver) Login(ctx context.Context, provider models.Provider, cod } if cookieHeader != state { - return nil, fmt.Errorf("invalid oauth state") + return nil, fmt.Errorf("invalid oauth state, cookieHeader='%s', state='%s'", cookieHeader, state) } // Using the OAuth code provided exchange the code for an access token