Skip to content

Commit

Permalink
feat: convert id_token.updated_at to date (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko authored Oct 6, 2023
1 parent def4071 commit 57d4817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/consent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57d4817

Please sign in to comment.