Mjolnir-Authentication-Server icon indicating copy to clipboard operation
Mjolnir-Authentication-Server copied to clipboard

Is it possible to use with Mysql or postgreSQL ?

Open evanlegamer opened this issue 4 years ago • 1 comments

Hi, i just wanted to know if it's possible to change from mongoDB to MySQL or postgreSQL ? If not, do you think it will be difficult to do ? do you have some hint to do this ? thank you in advance for your help.

evanlegamer avatar Mar 02 '20 17:03 evanlegamer

Hi,

Most probably not that difficult. You just have to create a new DB layer for MySQL along with the tooling.

I think creating a new adapter should do it: https://github.com/rutkai/Mjolnir-Authentication-Server/blob/master/lib/driver/mongodb.js

rutkai avatar May 20 '20 12:05 rutkai