MongoDbAuthRepository: new field in the document

Hello everybody!

Help please solve the problem.
I have MongoDB as the main database, I need to add a new field to the UserAuth, for OrmLiteAuthRepository everything is simple and I know how to do it but for MongoDb it does not work.

Please help me, what are the solutions for this issue.

Thank you in advance!

MongoDbAuthRepository doesn’t support customizable UserAuth tables. See this StackOverflow answer for some other approaches for adding metadata to UserAuth tables.