I have created a
platform event trigger in salesforce and on the other hand I have a .Net APIs (with no UI) now. I want to publish a platform event from
.Net API to
Salesforce. Option that I explored is to use the Salesforce Rest APIs to publish the payload pertaining to that
Now the issue is my .Net APIs do not have the UI wherein it can authenticate the Salesforce user by entering the username and password hence I could not use the
oAuth mechanism. I can't even authenticate the .Net API using the
password of salesforce as client will not be going to share it.
Is there any other way to call
Salesforce Res APIs to publish an event in Salesforce without using human intervention to add a username and a password.