Skip to content
Snippets Groups Projects
Commit 74f4e749 authored by Maarten den Braber's avatar Maarten den Braber Committed by mdbraber
Browse files

Formatting

parent d7750b1e
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@ package server
import (
"context"
"encoding/json"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"net/http"
......@@ -567,7 +567,7 @@ func (s *Server) sendCodeResponse(w http.ResponseWriter, r *http.Request, authRe
idTokenExpiry time.Time
// Access token
accessToken string
accessToken string
)
for _, responseType := range authReq.ResponseTypes {
......@@ -1079,7 +1079,7 @@ func (s *Server) handleUserInfo(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.Write(verified)
}
}
func (s *Server) verify(token string) ([]byte, error) {
keys, err := s.storage.GetKeys()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment