I am working on an app and I plan to use a durable object per team (group of users). For this I'll u

I am working on an app and I plan to use a durable object per team (group of users). For this I'll use the team-id as the unique name for instance
const id = this.env.MY_DURABLE_OBJECT.idFromName(teamId);
const stub = this.env.MY_DURABLE_OBJECT.get(id);

But how should I manage auth? Shouldn't auth hit a single DB?

Should I be using D1 for tables like - users, teams, etc (other global tables) and DO for tables specific to the team?
Was this page helpful?