go-oauth2 / oauth2

OAuth 2.0 server library for the Go programming language.
https://pkg.go.dev/github.com/go-oauth2/oauth2/v4
MIT License
3.31k stars 563 forks source link

how to handle concurrency/unique sessions #250

Open DennisMuchiri opened 1 year ago

DennisMuchiri commented 1 year ago

If multiple users are ddoing oauth at same time, does this mean this store.Set("LoggedInUserID", r.Form.Get("username")) will retrieve username of the most current user?,; what will happen to the previous user?? How do I handle concurrent authentication?