forked from nextauthjs/next-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: code base improvements 3 (nextauthjs#1072)
* refactor: extend res.{end,send,json}, redirect * refactor: chain res methods, remove unnecessary ones * refactor: simplify oauth callback signature * refactor: code simplifications * refactor: re-export everything from routes in one * refactor: split up main index.js to multiple files * refactor: simplify passing of provider(s) around * refactor: extend req with callbackUrl inline * refactor: simplify page rendering * refactor: move error page redirects to main file, simplify renderer * refactor: inline req.options definition * refactor: simplify error fallbacks * refactor: remove else branches and unnecessary try..catch * refactor: add docs, and simplify jwt functions * refactor: prefer errors object over switch..case in signin page * feat: log all params sent to logger instead of only first * refactor: fewer lines input validation * refactor: remove even more unnecessary else branches
- Loading branch information
1 parent
4ae4a37
commit 5add95a
Showing
23 changed files
with
568 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.