Skip to content

Commit 57d4817

Browse files
authored
feat: convert id_token.updated_at to date (#298)
1 parent def4071 commit 57d4817

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ory/kratos-selfservice-ui-node",
3-
"version": "0.13.0-15",
3+
"version": "0.13.0-17",
44
"description": "A reference implementation of a selfservice UI for ORY Kratos in node.js",
55
"homepage": "https://github.com/ory/kratos-selfservice-ui-node#readme",
66
"bugs": {

src/routes/consent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const extractSession = (
5858
}
5959

6060
if (identity.updated_at) {
61-
session.id_token.updated_at = identity.updated_at
61+
session.id_token.updated_at = Date.parse(identity.updated_at)
6262
}
6363
}
6464
return session

0 commit comments

Comments
 (0)