claims parameter in signed object fails

Open
#206 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

No source file or test is named. Start by reproducing the signed JWT authorization request with the shown claims parameter and inspect the attached stack trace to locate the failing path. Done means this request is accepted without an error and has regression coverage.

Written by the indexing model from the issue text.

Description

Imported

This issue is imported from pivotal - Originaly created at Sep 15, 2022 by Bart Geesink

You can use a signed JWT to encode your authorization request. If I add the claims parameter, it will cause an error. See attachment for the stacktrace.

The decoded jwt used looks like this:

{
"iss": "oidctest",
"aud": "https://connect.test.surfconext.nl",
"claims": {
"id_token": {
"email": null
}
},
"response_type": "code",
"scope": "openid",
"client_id": "oidctest",
"state": "O5pZvW_cPJjPCZm87eHPqplnL1A",
"redirect_uri": "https://spdtest.surfconext.nl/oidc/redirect",
"nonce": "tAw5hSn8HxKahbAFlS7J9kOikbnz2I21_gt1NL1KrAk"
}

Dominant language
Java
Stars
4
Forks
6
Avg merge
4d 1h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 OpenConext/OpenConext-oidcng

All issues in OpenConext/OpenConext-oidcng

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.