New answers tagged

3

A Named Credential can issue a JWT out of the box (see this answer for more details on how it works) HttpRequest req = new HttpRequest(); req.setEndpoint('callout:MyJWT/some_path'); req.setMethod('POST'); Http http = new Http(); HTTPResponse res = http.send(req); System.debug(res.getBody()); If you need more flexibility with payload, use Auth.JWT class: ...


1

The callback URL is the URL that should receive the access/refresh tokens. This will be wherever you deployed your code to, for example https://www.example.com/oauth2/callback. Since you're in control of your own website, the URL is whatever you want it to be.


2

Just use one Connected App for production or Developer Edition organizations, and another one for sandboxes. You don't have to package the Connected App inside the package.


0

As per my understanding, we can't have connected app as part of App Launcher. Instead as a workaround, you may have a web-link tab, and that tab you can use in the particular Application. So, if you want to see the connected app, you can click the tab which will redirect to the connected app page. PS - It depends on the permission you're having to see the ...


Top 50 recent answers are included