Skip to content

Commit 7f6815f

Browse files
committed
Extract changes into different changesets
1 parent a958ac1 commit 7f6815f

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.changeset/plenty-shirts-tease.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
'@clerk/clerk-js': patch
32
'@clerk/backend': patch
4-
'@clerk/types': patch
53
---
64

7-
Add `enterprise_sso` for session reverification
5+
Add `last_authenticated_at` to `SAMLAccount` resource, which represents the date when the SAML account was last authenticated

.changeset/thick-jokes-talk.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
'@clerk/types': patch
4+
---
5+
6+
- Add `last_authenticated_at` to `SAMLAccount` resource, which represents the date when the SAML account was last authenticated
7+
- Support `enterprise_sso` as a `strategy` param for `session.prepareFirstFactorVerification`

packages/backend/src/api/resources/SamlAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class SamlAccount {
6060
data.last_name,
6161
data.verification && Verification.fromJSON(data.verification),
6262
data.saml_connection && SamlAccountConnection.fromJSON(data.saml_connection),
63-
data.last_authenticated_at ? data.last_authenticated_at : null,
63+
data.last_authenticated_at ?? null,
6464
);
6565
}
6666
}

0 commit comments

Comments
 (0)