We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3d3d4b commit a7a48a1Copy full SHA for a7a48a1
docs/pages/guides/refresh-token-rotation.mdx
@@ -42,7 +42,7 @@ export const { handlers, auth } = NextAuth({
42
}),
43
],
44
callbacks: {
45
- async jwt({ token, account }) {
+ async jwt({ token, account, profile }) {
46
if (account) {
47
// First login, save the `access_token`, `refresh_token`, and other
48
// details into the JWT
0 commit comments