Read user tokens dynamically from a database

Hi there!

I’m developing a connector with CDK to get data from an API.

The connector is designed so that we can set up each Source with a different accountID; for an accountID, multiple user tokens may be available, and they are stored in a database.

My question is: is it okay for my connector to read tokens from my database, and rotate them in each sync?

Will this be considered bad practice?