@@ -11,9 +11,6 @@ export interface CitadelAllowParams {
1111 clientId : string ;
1212 recordId : string ;
1313 source ?: string ;
14- torusLoginInitiated ?: boolean ;
15- torusLoginSuccess ?: boolean ;
16- torusLoginFailed ?: boolean ;
1714}
1815
1916export interface CitadelAuthFlowAuditParams {
@@ -29,7 +26,7 @@ export interface CitadelAuditParams extends CitadelAuthFlowAuditParams {
2926 authConnection : string ;
3027 authConnectionId : string ;
3128 groupedAuthConnectionId : string ;
32- oauthUserId : string ;
29+ oAuthUserId : string ;
3330 web3AuthNetwork : string ;
3431 web3AuthClientId : string ;
3532}
@@ -44,15 +41,6 @@ export function buildAllowUrl(params: CitadelAllowParams): string {
4441 if ( params . source ) {
4542 url . searchParams . set ( "source" , params . source ) ;
4643 }
47- if ( typeof params . torusLoginInitiated !== "undefined" ) {
48- url . searchParams . set ( "toruslogininitiated" , params . torusLoginInitiated . toString ( ) ) ;
49- }
50- if ( typeof params . torusLoginSuccess !== "undefined" ) {
51- url . searchParams . set ( "torusloginsuccess" , params . torusLoginSuccess . toString ( ) ) ;
52- }
53- if ( typeof params . torusLoginFailed !== "undefined" ) {
54- url . searchParams . set ( "torusloginfailed" , params . torusLoginFailed . toString ( ) ) ;
55- }
5644 return url . toString ( ) ;
5745}
5846
@@ -68,7 +56,7 @@ export function buildAuditPayload(
6856 authConnection : params . authConnection || "" ,
6957 authConnectionId : params . verifierParams . sub_verifier_ids ?. [ 0 ] || "" ,
7058 groupedAuthConnectionId : params . verifier || "" ,
71- oauthUserId : params . verifierParams . verifier_id || "" ,
59+ oAuthUserId : params . verifierParams . verifier_id || "" ,
7260 web3AuthNetwork : network ,
7361 web3AuthClientId : clientId ,
7462 } ;
0 commit comments