Hyperledger Composer Web application user authentication
see https://github.com/hyperledger/composer-sample-networks/blob/v0.16.x/packages/trade-network/test/trading.js#L21 but use FileSystemCardStore instead of MemoryCardStore – we have an issue on documentation for this right now – https://github.com/hyperledger/composer/issues/3088 the general flow is : Issue identity, businessNetworkConnection.issueIdentity(NS + ‘#’ + userData.id, userData.user); …. var userCard = new IdCard({…}); userCard.setCredentials(credentials); … Import Card: adminConnection.importCard(userCardName, userCard); …. .then(() => { // Connect to the business … Read more