some comments
This commit is contained in:
parent
8b1d405f91
commit
b02a2701d3
3 changed files with 10 additions and 2 deletions
|
@ -30,8 +30,13 @@ func init() {
|
|||
func main() {
|
||||
ctx := context.Background()
|
||||
|
||||
//this will allow us to use an issuer with http:// instead of https://
|
||||
os.Setenv(op.OidcDevMode, "true")
|
||||
|
||||
port := "9998"
|
||||
|
||||
//the OpenID Provider requires a 32-byte key for (token) encryption
|
||||
//be sure to create a proper crypto random key and manage it securely!
|
||||
key := sha256.Sum256([]byte("test"))
|
||||
|
||||
router := mux.NewRouter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue