mirror of
https://github.com/documize/community.git
synced 2025-07-27 09:09:44 +02:00
removed rogue pkg reference!
This commit is contained in:
parent
5acfae3d0d
commit
7756a50d64
2 changed files with 16 additions and 4 deletions
|
@ -20,7 +20,6 @@ import (
|
|||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"obiwan/utility"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
@ -82,7 +81,7 @@ func AuthenticateKeycloak(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
// Decode and prepare RSA Public Key used by keycloak to sign JWT.
|
||||
pkb, err := utility.DecodeBase64([]byte(ac.PublicKey))
|
||||
pkb, err := decodeBase64([]byte(ac.PublicKey))
|
||||
if err != nil {
|
||||
writeBadRequestError(w, method, "Unable to base64 decode Keycloak Public Key")
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue