Why are most samples still using HTTP Signature if it is being deprecated?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with Configuration.getMerchantDetails() and compare the authentication settings used by RetrieveCustomer.java and RetrievePaymentInstrument. Run both samples with authenticationType set to "jwt" using the same credentials, then update the sample defaults so the affected calls work without authorization errors.
Written by the indexing model from the issue text.
Description
Most samples are still configured to use Configuration.getMerchantDetails() for their properties. This still defualts to using the soon-to-be-deprecated http_signature authentication. You should set the default for this to "jwt"
I've noticed that if I do this, some API calls no longer work. For example, the sample in RetrieveCustomer.java works fine with the authenticationType property set to "jwt". However, I get an authorization error when attempting RetrievePaymentInstrument using the same credentials. Why?
- Dominant language
- Java
- Stars
- 35
- Forks
- 84
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CyberSource/cybersource-rest-samples-java
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
CyberSource/cybersource-rest-samples-java#63 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
CyberSource/cybersource-rest-samples-java#62 · 1 comment ·
All issues in CyberSource/cybersource-rest-samples-java
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·