Using credentials in a dev/preview environment #5193
Unanswered
TheUnlocked
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My app uses oauth + database sessions in production, but I would like to make it easier to test in dev/preview environments by adding a credentials provider (using an email provider isn't an option since I don't use nodemailer and I don't want to add a dependency like that if it's never going to be used in production). The issue with the credentials provider of course, is that it requires JWT, so users won't get persisted in the database.
I understand that the intent is to discourage use of the credentials provider in production, but is there a good workaround for this in dev/preview environments?
Beta Was this translation helpful? Give feedback.
All reactions