@@ -16,15 +16,10 @@ class CommandAuthenticate extends CommandPolykey {
1616 'Name of the digital identity provider' ,
1717 parsers . parseProviderId ,
1818 ) ;
19- this . argument (
20- '<identityId>' ,
21- 'Digital identity to authenticate' ,
22- parsers . parseIdentityId ,
23- ) ;
2419 this . addOption ( binOptions . nodeId ) ;
2520 this . addOption ( binOptions . clientHost ) ;
2621 this . addOption ( binOptions . clientPort ) ;
27- this . action ( async ( providerId , identityId , options ) => {
22+ this . action ( async ( providerId , options ) => {
2823 const { default : PolykeyClient } = await import ( '../../PolykeyClient' ) ;
2924 const identitiesPB = await import (
3025 '../../proto/js/polykey/v1/identities/identities_pb'
@@ -59,7 +54,6 @@ class CommandAuthenticate extends CommandPolykey {
5954 } ) ;
6055 const providerMessage = new identitiesPB . Provider ( ) ;
6156 providerMessage . setProviderId ( providerId ) ;
62- providerMessage . setIdentityId ( identityId ) ;
6357 await binUtils . retryAuthentication ( async ( auth ) => {
6458 genReadable = pkClient . grpcClient . identitiesAuthenticate (
6559 providerMessage ,
@@ -90,7 +84,7 @@ class CommandAuthenticate extends CommandPolykey {
9084 case identitiesPB . AuthenticationProcess . StepCase . RESPONSE : {
9185 const authResponse = message . getResponse ( ) ! ;
9286 this . logger . info (
93- `Authenticated digital identity provider ${ providerId } with identity ${ identityId } ` ,
87+ `Authenticated digital identity provider ${ providerId } ` ,
9488 ) ;
9589 process . stdout . write (
9690 binUtils . outputFormatter ( {
0 commit comments