mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-06-28 04:00:20 +00:00
Update auth callbacks
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m5s
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m5s
This commit is contained in:
parent
ccc351157b
commit
f6331e435a
7
auth.ts
7
auth.ts
@ -7,5 +7,10 @@ export const {handlers, signIn, signOut, auth} = NextAuth({
|
|||||||
clientId: process.env.GITHUB_CLIENT_ID,
|
clientId: process.env.GITHUB_CLIENT_ID,
|
||||||
clientSecret: process.env.GITHUB_SECRET
|
clientSecret: process.env.GITHUB_SECRET
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
callbacks: {
|
||||||
|
async redirect({url, baseUrl}) {
|
||||||
|
return url
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
Loading…
x
Reference in New Issue
Block a user