DEV Community

Discussion on: SSO + Express JS + Passport-saml

Collapse
 
miteshkamat27 profile image
Mitesh Kamat

router.get('/metadata', function(req, res){
  const decryptionCert = //certificate goes here
  res.type('application/xml');
  res.send(strategy.generateServiceProviderMetadata(decryptionCert,decryptionCert));
 }
);
Enter fullscreen mode Exit fullscreen mode