Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Why are most samples still using HTTP Signature if it is being deprecated?

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
api

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

  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.

More from CyberSource/cybersource-rest-samples-java

All issues in CyberSource/cybersource-rest-samples-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.