Skip to content

Releases: superseriousbusiness/oauth2

v4.6.6.6 the library of the beast

27 Feb 14:34
Compare
Choose a tag to compare
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

08 Sep 19:49
Compare
Choose a tag to compare
ensure redirect_uri set for client credentials

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

v4.3.1-SSB

04 Sep 17:17
Compare
Choose a tag to compare

Merged updates from upstream.

v4.3.0-SSB

30 May 10:36
Compare
Choose a tag to compare

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.