1

I'd like to use the search API of salesforce. Is it possible to authenticate without a username/password, e.g. with some kind of permanent authentication token?

1 Answer 1

2

You can use OAuth to get an access and refresh token. But you'll have to make sure you handle token expiration stuff.

Sign up to request clarification or add additional context in comments.

3 Comments

Thanks so far. I can request the authentication token without username/password?
We have an internal "Google" where we can search different platforms (Atlassian products like Jira, Confluence, but also Slack and a few other tools). Now sales saw that and wants salesforce to be searchable by that tool, too. So the idea was to use this salesforce REST Api: developer.salesforce.com/docs/atlas.en-us.api_rest.meta/… . But since a server executes the request it needs to authenticate without username/password. Something like an Api key. Do you have an idea how to do that? I don't have salesforce access so I can't try it out.
You can either do the OAuth flow where a user grants an app access via a web UI or you can provide the integration user's credentials to the app. Those are the only options I'm aware of for your use case.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.