Skip to content

Commit

Permalink
fix: generate keys file after onboard
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-shris committed Oct 10, 2023
1 parent beaccd8 commit def786a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ class AtOnboardingServiceImpl implements AtOnboardingService {
var atOnboardingResponse = await atAuthService.onboard(
atOnboardingRequest, atOnboardingPreference.cramSecret!);
print('****atOnboardingResponse: $atOnboardingResponse');
if (atOnboardingResponse.isSuccessful) {
logger.finer(
'Onboarding successful.Generating keyfile in path: ${atOnboardingPreference.atKeysFilePath}');
await _generateAtKeysFile(atOnboardingResponse.enrollmentId,
atOnboardingResponse.atSecurityKeys!);
}
return _isAtsignOnboarded;
}

Expand Down

0 comments on commit def786a

Please sign in to comment.