fix(auth): complete Keycloak logout flow
This commit is contained in:
@@ -94,6 +94,9 @@ const authOptions: NextAuthOptions = {
|
||||
if (account.refresh_token) {
|
||||
token.refreshToken = account.refresh_token;
|
||||
}
|
||||
if (account.id_token) {
|
||||
token.idToken = account.id_token;
|
||||
}
|
||||
if (typeof account.expires_at === "number") {
|
||||
token.accessTokenExpires = account.expires_at * 1000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user