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

SERVICES_FILTER: Fix issues with oidc. #1229

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

eloycoto
Copy link
Contributor

@eloycoto eloycoto commented Sep 24, 2020

The oidc-service mapping is not based on a key, so each time that a
service is deleted, the mapping to the given service is broken.

With this change, the OIDC config is stored with the service id, so in
case that some services are removed, it'll keep it correctly mapped.

FIX THREESCALE-6042

Missing unit test

Signed-off-by: Eloy Coto [email protected]

@eloycoto eloycoto requested a review from a team as a code owner September 24, 2020 16:58
@eloycoto eloycoto force-pushed the SERVICES_FILTER branch 5 times, most recently from 68668bf to 6e969b9 Compare September 30, 2020 14:33
@@ -184,3 +187,83 @@ __DATA__
["yay, api backend\n", "yay, api backend two\n", ""]
--- error_code eval
[200, 200, 404]


=== TEST 4: Verify OIDC issue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the link to the issue here?

The oidc-service mapping is not based on a key, so each time that a
service is deleted, the mapping to the given service is broken.

With this change, the OIDC config is stored with the service id, so in
case that some services are removed, it'll keep it correctly mapped.

FIX THREESCALE-6042

Signed-off-by: Eloy Coto <[email protected]>
@eloycoto eloycoto merged commit be91600 into 3scale:master Sep 30, 2020
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