Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#136 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
api

調査の方向性

Configuration.getMerchantDetails() から始め、RetrieveCustomer.java と RetrievePaymentInstrument で使用されている認証設定を比較します。同じ認証情報を使用し、authenticationType を "jwt" に設定して両方のサンプルを実行します。その後、影響を受ける呼び出しが認証エラーなしで動作するように、サンプルのデフォルト値を更新します。

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Java
スター
35
フォーク
84
平均マージ
37分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CyberSource/cybersource-rest-samples-java のほかの issue

CyberSource/cybersource-rest-samples-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。