Compare commits

..

No commits in common. "5a2083aef04da37a204b0d2eb9444233610c3d30" and "c1b41684c50a753edcdb6b5c66124fca30ef5efc" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -2,10 +2,9 @@ package cauth
import ( import (
"context" "context"
"github.com/lestrrat-go/jwx/jwk"
"log" "log"
"net/http" "net/http"
"github.com/lestrrat-go/jwx/jwk"
) )
type contextKey string type contextKey string
@ -119,5 +118,5 @@ func GetUserFromContext(r *http.Request) *UserClaims {
return &user return &user
} }
return nil return &UserClaims{}
} }