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 Answer
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.
-
Could you please explain me how can I consume this SOAP directly from Postman?– pincetCommented Feb 25, 2020 at 8:53
-
1@pincet Grab a Partner WSDL and follow a Postman tutorial. Alternatively, you can try SoapUI Commented Feb 25, 2020 at 15:46