-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
feat: idp/rp test apps #1332
feat: idp/rp test apps #1332
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1332 +/- ##
==========================================
+ Coverage 97.44% 97.46% +0.02%
==========================================
Files 32 32
Lines 2073 2092 +19
==========================================
+ Hits 2020 2039 +19
Misses 53 53
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
787a0e1
to
cee2181
Compare
It is possible to control CORS by overriding is_origin_allowed method of RequestValidator class. OAuthLib allows origin if: - is_origin_allowed returns True for particular request - Request connection is secure - Request has 'Origin' header
for more information, see https://pre-commit.ci
I'll look into this PR on Friday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this test app is a great addition to this project.
I've never used svelte before so I don't really feel qualified to judge this part of this PR, but it works and it's easy to use, so I think it should be enough for anyone.
I also think the svelte part would benefit from enhancements in the future to be able to test multiple scenarios (with or without PKCE, using basic auth or passing client_id + client_secret, ...), but it should not slow down this PR.
Implement a minimal testing IDP and RP for maintainers. There is a single Application configured in the IDP for the RP sample application it used the OIDC Authorization + PKCE flow. This is a meant to be a starting point for building out further test scenarios.
cee2181
to
50dff93
Compare
Implement a minimal testing IDP and RP for maintainers.
There is a single Application configured in the IDP for the RP sample application it used the OIDC Authorization + PKCE flow.
This is a meant to be a starting point for building out further test scenarios.
applies to #1266
Description of the Change
implements a test IDP using DOT and RP as a pre-cursor to developing playwright E2E tests.
Checklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS