I'm building a Salesforce Lightning app, which will be made available in the Salesforce app exchange. But I'm just starting to learn the platform, so a few things are unclear to me. Can anyone help with the following?
The app will connect to my company's Rest API, which currently uses username/password authentication. Is it possible to authenticate with our API in this way? I've seen some indication that Salesforce requires the use of OAuth, but I'm not sure. If we can authenticate with username/password, where can I store the resulting jwt token in Salesforce securly for reuse?
Although we will build some UI components using Lightning web components (mostly static display), we also need to load our SaaS application in an iframe, when a user clicks on a CTA in the Lightning app. Is this possible?
Thanks for any help