A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
You need to implement Azure AD SSO into your MVC application. This means storing the users in Azure AD (which is the only identity storage SharePoint Online uses with no option to change it) and using the MSAL library with your MVC application. You will then no longer use the SQL database for account storage.