Skip to content

Commit

Permalink
actually updating the correct number
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Sep 27, 2024
1 parent e7512d6 commit 4f44ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func handleLogin(w http.ResponseWriter, r *http.Request) {
authBuilder = pkg.NewRequestObjectProducer(conf.EntityID, getKey("oidc"), jwa.ES512, 60)
}
op := r.URL.Query().Get("op")
state := randASCIIString(64)
pkceChallenge := pkce.NewS256PKCE(randASCIIString(20))
state := randASCIIString(32)
pkceChallenge := pkce.NewS256PKCE(randASCIIString(64))
stateDB[state] = stateData{
codeChallange: pkceChallenge,
issuer: op,
Expand Down

0 comments on commit 4f44ae7

Please sign in to comment.