1

Is it possible to retrieve client id & secret without Connected App creating? As well - is it possible to use rest only with username, password and tocken?

1

1 Answer 1

1

Client id and client secret are "properties" of the connected app. Thus, it's not possible to retrieve them or have them without creating a connected app.

You can authenticate without a connected app but it won't be a RESTful call. You'll have to use SOAP login(). It accepts username/password (which may require inclusion of a security token) and produces a session ID. You can then use this session ID as a bearer token to call REST or other APIs.

2
  • Could you please explain me how can I consume this SOAP directly from Postman?
    – pincet
    Commented Feb 25, 2020 at 8:53
  • 1
    @pincet Grab a Partner WSDL and follow a Postman tutorial. Alternatively, you can try SoapUI
    – identigral
    Commented Feb 25, 2020 at 15:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .