-
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.
問題描述: auth.js callback 中 token, session 的相關處理 應該可以影響到在 req.auth 應該顯示的資訊 但僅能顯示 user 的 name, email, image 三個欄位 解決方式: 將 callback 放在 auth.config.js 中,即可正常顯示完整資訊 nextauthjs/next-auth#9836 (comment)
- Loading branch information
1 parent
67d66d3
commit d1ec906
Showing
2 changed files
with
18 additions
and
18 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