Conversation
Signed-off-by: yosrixp <yosrixp@yahoo.com>
… scrub Signed-off-by: yosrixp <yosrixp@yahoo.com>
MartinTrojans
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the WisdomAI MCP provider end-to-end and folds in two adjacent fixes that surfaced during the integration: a Datadog
/userinfo401 caused by scope-gated identity API, and a doc-comment / test-data PII scrub across Datadog/Linear/Oracle-EPM.1. WisdomAI (new provider)
wisdomai: authorize atwisdom.ouryahoo.com, token atapi.descope.com/oauth2/v1/apps/token(split-domain),jwks-pathpinned at Descope's/well-known/jwks.jsonso Quarkus can verify the id_token RS256 signature without falling back to introspection./internal/wisdomai/oauth-userinfothat runscurrentUser { id name email }and flattens to top-level OIDC claims.client_secret_post, with one-shot fallback toclient_secret_basiconinvalid_client. Secret stored in K8s underwisdomai-client-secret.E061004(azp mismatch),E061003(RT revoked),E061002(RT expired) →OktaTokenRevokedExceptionso the L2 row is cleared and the user is force-redirected to re-login.storeTokensso the bare L1 row outlives the global 8hserver.token-store.expiry./v1/wisdomai/mcpacross dev / stage / prod.2. Datadog identity API fix
Datadog's
/api/v2/current_userrequires scopes that the MCP zero-scope AT does not carry — it returned 401 for every userinfo call. Fixed by:DatadogUserInfoResourcefrom/api/v2/current_userto/api/v2/users, which is filtered to a single row for the calling user under a zero-scope token.data: [...](list shape) anddata: { ... }(defensive single-object) so a future Datadog response-shape change won't silently 502 us.datadog.scopes: [](matches the actual zero-scope contract; the oldmcp_read,mcp_writedid nothing for/userinfoand was misleading).3. Slack scope expansion + client_id rotation (stage only)
oidc.slack.clientIdrotated to223299515715.11244675106400.channels:write,im:write,mpim:writeso Slack MCP can post to channels/IMs.4. PII scrub
Replaced real Yahoo identities (
yosrixp@yahooinc.com, real Linear/Datadog UUIDs) with synthetic placeholders (testuser@example.com,00000000-0000-0000-0000-000000000001) in:DatadogUserInfoResource,LinearUserInfoResource,OracleEpmUserInfoResource.alice@example.com/ id1234567890).DatadogUserInfoResourceTest,LinearUserInfoResourceTest,OracleEpmUserInfoResourceTest,LinearResourceTest,DatadogResourceTest,OracleEpmResourceTest,UserInfoResourceTest,ZmsAssumeRoleResourceClientTest,ZmsResourceModelJsonTest,GrafanaManagementClientImplTest,UpstreamTokenConfigTest.Files
WisdomAiResource,WisdomAiUserInfoResource,WisdomAiUpstreamRefreshClient,TokenExchangeServiceWisdomAiImplDatadogUserInfoResource(identity API switch + diagnostics),LinearUserInfoResource+OracleEpmUserInfoResource(PII javadoc scrub),K8SSecretsProvider,TokenExchangeServiceProducer,UpstreamProviderClassifier,OauthProviderLabelapplication.yaml,application.dev.yaml,configmap.yaml, defaultvalues.yaml, all three env overlaysUpstreamProviderClassifierTest,TokenExchangeServiceProducerTest,UpstreamTokenConfigTest,K8SSecretsProviderTest,DatadogUserInfoResourceTest(newsingleObjectDataShapedefensive case) + PII scrub across the existing test suiteOperator prerequisites
Populate
wisdomai-client-secretin the K8s secret store for stage and both prod regions before rollout — the OIDC tenant fails to start the code exchange without it.