diff --git a/package.json b/package.json index a1b4ad4c..787e9da4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ory/kratos-selfservice-ui-node", - "version": "0.13.0-15", + "version": "0.13.0-17", "description": "A reference implementation of a selfservice UI for ORY Kratos in node.js", "homepage": "https://github.com/ory/kratos-selfservice-ui-node#readme", "bugs": { diff --git a/src/routes/consent.ts b/src/routes/consent.ts index 4eac9594..33962584 100644 --- a/src/routes/consent.ts +++ b/src/routes/consent.ts @@ -58,7 +58,7 @@ const extractSession = ( } if (identity.updated_at) { - session.id_token.updated_at = identity.updated_at + session.id_token.updated_at = Date.parse(identity.updated_at) } } return session