We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend
The backend should provide a tenant service that other services can use to retrieve tenant information, given an id.
Pseudocode for Tenant service:
CreateOptions { publicName: string email: string apiSecret: string idpConsentUrl: string idpSecret: string } TenantService { create: (options: CreateOptions) => Tenant get: (id: string) => Tenant update(id: string, input: { ...tenantFields } delete: (id: string) => boolean }
create
get
update
delete
auth
The text was updated successfully, but these errors were encountered:
Could we also add caching to the tenant? Similar to what we did for walletAddress and asset?
tenant
walletAddress
asset
Sorry, something went wrong.
feat(backend): tenants service (#3123) (#3140)
07630c1
* feat(backend): tenant service * fix: integration tests * feat: use soft delete * refactor: compare whole object in test * fix: better gql errors in tests * feat: add idp columns to tenant model * feat: pagination tests, push deletedAt to auth api call * feat: add cache * fix: update localenv environment variables * feat: make some tenants fields optional, small refactors
njlie
Successfully merging a pull request may close this issue.
The backend should provide a tenant service that other services can use to retrieve tenant information, given an id.
Pseudocode for Tenant service:
create
functioncreate
function should call create tenant endpoint on auth server admin apiget
functionupdate
functiondelete
functiondelete
function should call delete tenant endpoint on auth server admin apiPrerequisites
backend
tenants table #3103auth
tenants table #3113auth
tenant service #3122The text was updated successfully, but these errors were encountered: