Group my users?

Thanks, that’s good! A couple of follow-up questions though.

Can the app_metadata be filled from my legacy database using a custom database connection marked to auto migrate users? If so, how should it be returned in the object passed to the login script’s callback function?

I assume there’s no way to attach attributes to the “group”? I mean, I could obviously have multiple app_metadata attributes that would contain info about the company, but this would duplicate the information among the company’s users, right?

So, to be able to stora data at the company level, I would essentially need a custom database and a connection to it?