File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
backend/src/api/resources
clerk-js/src/core/resources Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ export interface SamlAccountJSON extends ClerkResourceJSON {
246246 last_name : string ;
247247 verification : VerificationJSON | null ;
248248 saml_connection : SamlAccountConnectionJSON | null ;
249+ last_authenticated_at : number | null ;
249250}
250251
251252export interface IdentificationLinkJSON extends ClerkResourceJSON {
Original file line number Diff line number Diff line change @@ -43,7 +43,11 @@ export class SamlAccount {
4343 * The SAML connection of the SAML account.
4444 */
4545 readonly samlConnection : SamlAccountConnection | null ,
46- ) { }
46+ /**
47+ * The date when the SAML account was last authenticated.
48+ */
49+ readonly lastAuthenticatedAt : number | null ,
50+ ) { }
4751
4852 static fromJSON ( data : SamlAccountJSON ) : SamlAccount {
4953 return new SamlAccount (
@@ -56,6 +60,7 @@ export class SamlAccount {
5660 data . last_name ,
5761 data . verification && Verification . fromJSON ( data . verification ) ,
5862 data . saml_connection && SamlAccountConnection . fromJSON ( data . saml_connection ) ,
63+ data . last_authenticated_at ? data . last_authenticated_at : null ,
5964 ) ;
6065 }
6166}
Original file line number Diff line number Diff line change @@ -184,6 +184,8 @@ export class Session extends BaseResource implements SessionResource {
184184 config = {
185185 emailAddressId : factor . emailAddressId ,
186186 enterpriseConnectionId : factor . enterpriseConnectionId ,
187+ redirectUrl : factor . redirectUrl ,
188+ actionCompleteRedirectUrl : factor . actionCompleteRedirectUrl ,
187189 } as EnterpriseSSOConfig ;
188190 break ;
189191 default :
You can’t perform that action at this time.
0 commit comments