Skip to content

[Multi-Tenant] Tenanted Wallet Addresses #3114

Closed
@njlie

Description

@njlie

Wallet Addresses should become tenanted as per the Multi-Tenancy design, and will be logically separated in the backend database by a tenantId row that serves as a foreign key on the tenants table.

  • Add tenantId row to walletAddresses table that is required and maps to an id on the tenants table.
  • Add tenantId to database queries on wallet addresses
  • Acquire tenantId from request headers on wallet address GraphQL requests and pass them into wallet address service logic.
  • Include tenantId in base URL of authServer and resourceServer fields of the current wallet address response.

Prerequisites

Pull Request

#3152

Metadata

Metadata

Assignees

Labels

pkg: backendChanges in the backend package.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions