You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating authentication and token management flow to accomodate context switching of agent for different roles based on type of agent (multi-tenant or dedicated) and different role in multi-tenancy(dedicated and tenant)
Token creation for different roles (Basewallet (BW), Tenant Wallet(TW), Dedicated agent wallet(DW))
Authenticating token based on endpoints being accessed and type of token(authorization)
Attaching agent context based on roles through request
Secret keys used for generating and verifying tokens for BW and TW in case of multi-tenancy will be same and stored in BW. (Since, opening wallet to access secretKey for each request in case of tenant agent verification will be an expensive process in terms of time and computation)
Removing middleware and utilizing authentication module for authorization and context switching
Handling error for unauthorized access
Receiving apiKey as an additional parameter while staring the agent. This will act as an authentication for BW and DW
Releasing agent session at the end of request
Using agent context from request for all endpoints. (Unlike as a global param currently being used in controllers)
The text was updated successfully, but these errors were encountered:
GHkrishna
changed the title
refactor: token management
refactor: authentication and context switching for types of agent
Apr 25, 2024
GHkrishna
changed the title
refactor: authentication and context switching for types of agent
refactor: Update Credo Controller - authentication and context switching for types of agent
May 8, 2024
GHkrishna
changed the title
refactor: Update Credo Controller - authentication and context switching for types of agent
refactor: Credo Controller - authentication and context switching for types of agent
May 8, 2024
Updating authentication and token management flow to accomodate context switching of agent for different roles based on type of agent (multi-tenant or dedicated) and different role in multi-tenancy(dedicated and tenant)
The text was updated successfully, but these errors were encountered: