fosite-storage-mongo provides a native Go based Mongo backed database storage that conforms to all the interfaces! required by fosite.
Table of contents
The following table lists the compatible versions of fosite-storage-mongo with fosite. If you are currently using this in production, it would be awesome to know what versions you are successfully paired with.
storage version | minimum fosite version | maximum fosite version |
---|---|---|
v0.31.X |
v0.33.X |
v0.34.X |
v0.30.X |
v0.33.X |
v0.34.X |
v0.29.X |
v0.32.X |
v0.34.X |
v0.28.X |
v0.32.X |
v0.34.X |
v0.27.X |
v0.32.X |
v0.34.X |
To start hacking:
- Install Go >1.14
- Use Go modules!
go build
successfully!
Use go test ./...
to discover heinous crimes against coding!
For a quick start check out the following examples based on the fosite-example
repo for reference:
storage is under the Apache 2.0 License.