Jeremiah S

Results 7 comments of Jeremiah S

I originally went the route of using the pages.signIn. I thought a call back was more appropriate in some cases for a few reasons. - I do not want users...

Okay then maybe something nuanced like this to prevent infinite sign in loops for users that exist but are not authorized for the route the middleware is evaluating. ``` //...

@MrPumpking. I personally like this idea. In my opinion it simplifies user role handling logic. The examples in documentation show the admin role check. Yet, the current implementation seems more...

Yes, this is caused by the next-auth.d.ts file. If you put *.d.ts file inside a directory like types/next-auth.d.ts ad be sure it is included with you ts compiler, things should...

The Next-Auth Documentation recommends putting the any [Next-Auth Model Augmentation](https://next-auth.js.org/getting-started/typescript#module-augmentation)s inside of a types directory and not in the project root directory.

I second. Can we merge

@MikeiLL > I wonder if Trellis-cli can also handle migrating databases and running search-replace, but that's obviously out of the scope of this discussion. We generally WP-Migrate-DB-Pro these days. I...