Releases: superseriousbusiness/oauth2
Releases · superseriousbusiness/oauth2
v4.6.6.6 the library of the beast
Check grant type in ValidationTokenRequest For some reason there's a CheckGrantType on server which is never actually called to verify whether the grant type is one of the supported ones. This adds the check early in the chain to ensure we return a helpful error when an unsupported grant type is used.
Fix ClientCredentials "redirect_uri" unset
ensure redirect_uri set for client credentials Signed-off-by: kim (grufwub) <grufwub@gmail.com>
v4.3.1-SSB
Merged updates from upstream.
v4.3.0-SSB
v4.3.0-SSB
This release includes the updates made by SuperSeriousBusiness while adapting the oauth library for use in GoToSocial.
New
- Client and ClientStore are now interfaces rather than structs. This allows library users to implement their own interfaces for these, as is done in GoToSocial. This means that library users are not forced to use in-memory implementations now, but can store values in (for example) a database, so that they persist across application restarts.
Updated
- Client store now deletes entries in its map using Go's
delete()
function instead of setting the value at that key to nil.