Skip to content

Commit

Permalink
change encoding to support adfs (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag authored Feb 5, 2019
1 parent adb063b commit 0342ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
func randString() string {
b := make([]byte, 32)
rand.Read(b)
return base64.StdEncoding.EncodeToString(b)
return base64.URLEncoding.EncodeToString(b)
}

func loginURL(r *http.Request, state string) string {
Expand Down

0 comments on commit 0342ab7

Please sign in to comment.