I have a use case in which I want to expose a user form in Pega to external web page, and I am wondering whether I can leverage the case microservice code'. Would you please help me how I can leverage it or not?
User Form? Does it mean.. any pega harness, case you want to present to end user in external webpage (non pega application)? If so, you can use mashup code or micro service. Both requires authentication, so you need to pass in credentials. If you are expecting to use SSO, then i would suggest to use Mashup.Mashup provides little more granular control so that you can send SSO token/credentials in secured authentication header.
In Micro service, you may need to pass in credentails in the URL as parameters which you need to think about it.