use raw base64 as defined by rfc7515

This commit is contained in:
ston1th 2018-12-28 19:10:22 +01:00
commit 1613055dfd
3 changed files with 12 additions and 7 deletions

7
encoding.go Normal file
View file

@ -0,0 +1,7 @@
// Copyright (C) 2018 Marius Schellenberger
package jwt
import "encoding/base64"
var enc = base64.RawURLEncoding