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

Token introspection - invalid token (9.11.2.02) (FI-3257) #572

Open
cheng13231 opened this issue Oct 8, 2024 · 3 comments
Open

Token introspection - invalid token (9.11.2.02) (FI-3257) #572

cheng13231 opened this issue Oct 8, 2024 · 3 comments
Labels
bug This is a bug in Inferno g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit will fix Issue is planned to be addressed in future release

Comments

@cheng13231
Copy link

Test 9.11.2.02 fails for me when running g10 test suite locally, please see the screenshot below.
image

Given an invalid token, the test expects 200 response code, however 401 returns. I tried to POST a similar request to my authorization server, I do get 200 response, see screenshot below for the postman request
image

When I check the log in my authorization server, I find some differences, see screenshot below
image

Seems that Test 9.11.2.02 doesn't properly send the authorization header provided in the test config to my authorization server. But, the strange thing to me is that Test 9.11.2.01 is passed. Could you please help me to check what I did wrong?

@yunwwang
Copy link
Contributor

yunwwang commented Oct 8, 2024

Hello @cheng13231

Thank you for reaching out to Inferno team. Does your server require Authorization header for token introspection endpoint?

@cheng13231
Copy link
Author

Yes, it does, and I configured it in the setting "HTTP Authorization Header for Introspection Request". I would assume that the authorization header is used in test 9.11.2.01 as well, right?

@yunwwang
Copy link
Contributor

yunwwang commented Oct 8, 2024

We may have a bug in this test. I will do future investigation. Thank you for reporting this

@yunwwang yunwwang changed the title Token introspection - invalid token (9.11.2.02) Token introspection - invalid token (9.11.2.02) (FI-3257) Oct 8, 2024
@yunwwang yunwwang added will fix Issue is planned to be addressed in future release g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit bug This is a bug in Inferno labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug in Inferno g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit will fix Issue is planned to be addressed in future release
Projects
None yet
Development

No branches or pull requests

2 participants