Skip to content

Add JWT test implementing user story from user-guides#692

Merged
averevki merged 1 commit intoKuadrant:mainfrom
silvi-t:jwt-user-story
Aug 11, 2025
Merged

Add JWT test implementing user story from user-guides#692
averevki merged 1 commit intoKuadrant:mainfrom
silvi-t:jwt-user-story

Conversation

@silvi-t
Copy link
Copy Markdown
Contributor

@silvi-t silvi-t commented Jun 20, 2025

Description

This PR implements the user story from issue #689 into the testsuite.
As a user you can access from anywhere if you have a realm role assigned. But if user does not have assigned realm role than the user can access only from allowed path parameter "/anythig/SK/" or when accessing through "/anything/global" path parameter that does not trigger external authorization by Envoy.

@silvi-t silvi-t requested a review from averevki June 20, 2025 13:38
@silvi-t silvi-t self-assigned this Jun 20, 2025
Comment thread testsuite/gateway/envoy/jwt_plain_identity.py Outdated
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/conftest.py Outdated
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/test_jwt_user_story.py Outdated
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/test_jwt_user_story.py Outdated
Comment thread testsuite/gateway/envoy/jwt_plain_identity.py Outdated
Comment thread testsuite/gateway/envoy/__init__.py Outdated
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/test_jwt_user_story.py Outdated
@silvi-t silvi-t requested a review from adam-cattermole July 28, 2025 11:50
@silvi-t silvi-t removed the request for review from adam-cattermole July 28, 2025 12:20
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/conftest.py Outdated
Comment thread testsuite/mockserver.py Outdated
Comment thread testsuite/mockserver.py Outdated
Comment thread testsuite/gateway/envoy/config.py Outdated
Comment thread testsuite/gateway/envoy/jwt_plain_identity.py Outdated
Comment thread testsuite/gateway/envoy/config.py Outdated
Comment thread testsuite/tests/singlecluster/authorino/identity/plain/test_jwt_user_story.py Outdated
Signed-off-by: Silvia Tarabova <starabov@redhat.com>
@averevki averevki merged commit 45feda3 into Kuadrant:main Aug 11, 2025
3 checks passed
@silvi-t silvi-t deleted the jwt-user-story branch August 11, 2025 16:33
emmaaroche pushed a commit to emmaaroche/testsuite that referenced this pull request Aug 12, 2025
Add JWT test implementing user story from user-guides
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants