Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(jans-auth-server): tx token replace failing with 500 #8623 #8624

Merged
merged 2 commits into from
May 31, 2024

Conversation

yuriyz
Copy link
Contributor

@yuriyz yuriyz commented May 31, 2024

Description

fix(jans-auth-server): tx token replace failing with 500

POST /jans-auth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded

grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&audience=http%3A%2F%2Ftrusted2.com&subject_token=eyJraWQiOiJjb25uZWN0XzViODA2OWM3LWM5MDQtNDM4Mi1iNDNkLWVlNWJmMzBhNjQwYV9zaWdfcnMyNTYiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJyY3R4Ijp7InJlcV9pcCI6IjY5LjE1MS43Mi4xMjMifSwiYXVkIjpbIjgzYmM2NWYyLWIxNTUtNGQxNS1iODBkLWFiMWY0ZDlhMjQwZCIsImh0dHA6Ly90cnVzdGVkLmNvbSJdLCJzdWIiOiIiLCJwdXJwIjoidHhuX3Rva2VuIiwiaXNzIjoiaHR0cHM6Ly9qZW5raW5zLWJ1aWxkLmphbnMuaW8iLCJhemQiOnsiY2xpZW50X2lkIjoiODNiYzY1ZjItYjE1NS00ZDE1LWI4MGQtYWIxZjRkOWEyNDBkIn0sInR4biI6ImZiNzg2OWY5LTE1ZjgtNDhjNS05OWE0LWI3ZjQzOGUxYjJjNCIsImV4cCI6MTcxNzE0NjE0NiwiaWF0IjoxNzE3MTQ1OTY2fQ.he89X74L_STMxA34FCA3Kms9t1VVeleemHIMZFmYOmvti75b0h13nNM6AafKhfp1mFL4sK6ZvxgfZlRwCSmQTe0TTS1y-zyOZbSlcFpynzNakCn2a0avItjlInuQ09fiRq4nHK3B4SjHA_DHY2xiJT3QAiuSO-dbyFBhCudf0mp2ZB2fADyYscLBtu8lD4kiMlm1puh9lbyUlUCFdGcGeRyvq_iXBS3YyRuDPVIm6eQxdEVrKEP6qJEY1tai7k5GvliLdogks3ZJ2CvB8yYzMaGvnipfjhyHtRoSIlrNhmNZhU3vZ2VBH2aS4fUzxSEGe7VJkgzKh6Honvdt5X1SBg&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Atxn-token&request_context=%7B%22req_ip%22%3A%2269.151.72.100%22%7D

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 500
Cache-Control: no-store
Connection: close
Content-Length: 0

Target issue

closes #8623

Test and Document the changes

  • Static code analysis has been run locally and issues have been fixed

Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>
@yuriyz yuriyz requested review from yurem and yuriyzz as code owners May 31, 2024 19:33
@mo-auto mo-auto added comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels May 31, 2024
@yuriyz yuriyz enabled auto-merge (squash) May 31, 2024 19:34
Copy link

sonarcloud bot commented May 31, 2024

Quality Gate Passed Quality Gate passed for 'jans-linux-setup'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@yuriyz yuriyz merged commit 6061562 into main May 31, 2024
3 checks passed
@yuriyz yuriyz deleted the jans-auth-server-8623 branch May 31, 2024 20:30
moabu pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>
(cherry picked from commit 6061562)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(jans-auth-server): tx token replace failing with 500
4 participants