The docs don’t mention that this is possible but figured I’d still ask nonetheless.
dbAuth requires a User
table, but I’d like to have dbAuth use an Admin
table.
Has anyone else done this?
Most likely going to change my schema to fit what dbAuth expects to fit the convention over configuration mindset
Ok, I see that its the authModelAccessor
in api/src/functions/auth.ts
within the DbAuthHandler
constructor.
This wasn’t crystal clear for me personally reading the docs, but after generating the code and seeing the additional comments as seen here, it became crystal clear.
I can find some time to open a PR to update the docs as I think the context the comments add is nice
Awesome! Glad you figured it out … and of course we always appreciate any contributions to our docs.