diff --git a/server/api.go b/server/api.go
index ab47b141f5f18ce07646a83a4e952c237d129b30..9feb0e9abd87587e8265e86e350667ee9389f867 100644
--- a/server/api.go
+++ b/server/api.go
@@ -1,15 +1,12 @@
 package server
 
 import (
+	"context"
 	"errors"
 	"fmt"
 
 	"golang.org/x/crypto/bcrypt"
 
-	// go-grpc doesn't use the standard library's context.
-	// https://github.com/grpc/grpc-go/issues/711
-	"golang.org/x/net/context"
-
 	"github.com/dexidp/dex/api"
 	"github.com/dexidp/dex/pkg/log"
 	"github.com/dexidp/dex/server/internal"