Skip to content

Commit a7a48a1

Browse files
authored
docs: Add missing params in refresh token rotation guide (nextauthjs#11386)
1 parent a3d3d4b commit a7a48a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/guides/refresh-token-rotation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const { handlers, auth } = NextAuth({
4242
}),
4343
],
4444
callbacks: {
45-
async jwt({ token, account }) {
45+
async jwt({ token, account, profile }) {
4646
if (account) {
4747
// First login, save the `access_token`, `refresh_token`, and other
4848
// details into the JWT

0 commit comments

Comments
 (0)