jsforce / jsforce/jsforce-ajax-proxy

Default `url` typo

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
50
Forks
45
PR merge metrics
No merged PRs in 30d

Description

I believe there is a typo in the default url in proxy.js @ ln 58. Should .com//services actually be com/services?

var params = {
-  url: sfEndpoint || "https://login.salesforce.com//services/oauth2/token",
+  url: sfEndpoint || "https://login.salesforce.com/services/oauth2/token",
  method: req.method,
  headers: headers
};

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open lib/proxy.js at line 58 and inspect the default Salesforce OAuth token URL. Confirm the default uses a single slash before services; the issue is done when the corrected URL is in place and the proxy behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.