payload-plugin-oauth icon indicating copy to clipboard operation
payload-plugin-oauth copied to clipboard

Support for PostgresDB

Open Augigauki opened this issue 2 years ago • 4 comments

Hi! Not really a issue, but I didn't find another place to raise awareness for this.

I am working on a Payload 2.0^ project with a PostgresDB, and would love to use this plugin for enabling auth via Azure AD. During my testing now it seems as if this plugin requires a MongoDB-database. Would love it if it could also support postgres!

Augigauki avatar Nov 21 '23 08:11 Augigauki

Agree! I think it's because passport needs sessions so I added express-session which needs some storage.

thgh avatar Nov 21 '23 08:11 thgh

Do you think adding postgres-support is feasible? Got a project already running on postgres that I would love enabling azure-ad for, having to migrate to mongodb for it would be quite a big painpoint for sure. If I know a update is in the works enabling postgres-support I can just sit tightly and wait :)

Augigauki avatar Nov 21 '23 09:11 Augigauki

Do you think adding postgres-support is feasible? Got a project already running on postgres that I would love enabling azure-ad for, having to migrate to mongodb for it would be quite a big painpoint for sure. If I know a update is in the works enabling postgres-support I can just sit tightly and wait :)

Did you find a solution for this issue?

alsherif-khalaf avatar Feb 19 '24 15:02 alsherif-khalaf

I would like to see Postgres support as well

bertribe avatar Mar 27 '24 21:03 bertribe