bump 0.5.34 — save idToken for logout
This commit is contained in:
@@ -59,6 +59,7 @@ function createRouter({ auth, doubleCsrfProtection, generateCsrfToken, authLimit
|
||||
if (!payload) throw new Error('Failed to decode token');
|
||||
|
||||
req.session.token = accessToken;
|
||||
req.session.idToken = tokenData.idToken || null;
|
||||
|
||||
// Пытаемся обогатить через IAM API
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user