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

Prevent TrnMatchPolicy and TrnRequirementType from being overriden #741

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

gunndabad
Copy link
Collaborator

@gunndabad gunndabad commented Oct 17, 2023

We allow the client's configured TrnMatchPolicy and TrnRequirementType to be overridden by query parameters on the authorization request for testing purposes but we shouldn't allow it in production for 'real' clients. This change adds guards to those overrides so that they're only allowed for the testclient (I felt making it configurable per-service was overkill here).

@gunndabad gunndabad requested a review from MrKevJoy October 17, 2023 12:33
@gunndabad gunndabad enabled auto-merge (squash) October 17, 2023 12:34
@gunndabad gunndabad force-pushed the prevent-trn-configuration-from-overrides branch from 2002749 to f89b572 Compare October 17, 2023 12:50
@gunndabad gunndabad requested a review from MrKevJoy October 17, 2023 12:51
@gunndabad gunndabad temporarily deployed to dev October 17, 2023 13:00 — with GitHub Actions Inactive
@gunndabad gunndabad merged commit ce4382b into main Oct 17, 2023
7 checks passed
@gunndabad gunndabad deleted the prevent-trn-configuration-from-overrides branch October 17, 2023 13:00
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.

2 participants