have configured ssh keys with github so can cloned the repo using ssh clone without prompting the username and password
git clone firstname.lastname@example.org:test/test.git
but https will prompt the user and password for cloning the app on terminal.
As we are trying to CICD for react.js application with muliple repositories, can cloned the main repo using ssh key on jenkin, but npm initialize will pull the other sub repo so it is prompted username and password. is that possible to clone with https app using ssh keys
It is only possible to use SSH Keys when you clone via SSH. However, you should be able to clone your sub repositories using SSH as well.
Hope that helps!