A Mongo Storage backend for https://github.com/ory/fosite
APACHE-2.0 License
Published by matthewhartstonge over 6 years ago
Published by matthewhartstonge over 6 years ago
user.Filter
via the GetUsers(filters user.Filter)
functionPublished by matthewhartstonge over 6 years ago
PersonID
to the client record to enable foreign key lookupsPublished by matthewhartstonge over 6 years ago
TenantIDs
to the client record to enable client_credentials
for multi-tenant applicationsPublished by matthewhartstonge over 6 years ago
Published by matthewhartstonge over 6 years ago
Published by matthewhartstonge over 6 years ago
[]string{"mongo.example.com:123456", "mongo.example.com:234567"}
allowingconfig.Port
as well.tls.Config
struct, but enables usersPublished by matthewhartstonge over 6 years ago
Published by matthewhartstonge over 6 years ago
v0.9.0 makes a few under the hood changes in order to conform method and attribute naming to make the API cleaner.
First of all, big shout out to @niemeyer for his amazing effort and continued support through the years to the mgo Go driver!! It's no small feat, with the driver in use today in many production stacks.
We have decided to move to the community supported fork of mgo as it has a couple of extra github issues tidied up and is moving to add support for Mongo 3.6 features which make some aggregation pipelines easier internally for us. As such, this repo is also moving to use the community fork of [mgo][mgo].
Big shoutout to @domodwyer + contributors past and future!
AllowedAccess
has been changed to AllowedTenantAccess
to better represent the underlying data.
bson
/json
/xml
tags have also been updated from tenantIDs
to allowedTenantAccess
AllowedPeopleAccess
has been added to the user model support enabling and disabling explicit access to people accounts.EnablePeopleAccess
method to userDisablePeopleAccess
method to userAddTenantIDs
method conformed to EnableTenantAccess
RemoveTenantIDs
method conformed to DisableTenantAccess
TenantIDs
have been changed to conform to AllowedTenantAccess
, same as user.AddScopes
method has been changed to EnableScopeAccess
RemoveScopes
method has been changed to DisableScopeAccess
AddTenantIDs
method has been changed to EnableTenantAccess
RemoveTenantIDs
method has been changed to DisableTenantAccess
request.PersistRefreshTokenGrantSession
from request.Storer
interface as per required fosite v0.11.x breaking changesrequest.PersistAuthorizeCodeGrantSession
from request.Storer
interface as per required fosite v0.11.x breaking changesPublished by matthewhartstonge about 7 years ago