Skip to content

fix: remove unnecessary error log it the oidc access token verify method is set to none#2795

Draft
fschade wants to merge 1 commit into
opencloud-eu:mainfrom
fschade:fix-missing-oidc-sub-session
Draft

fix: remove unnecessary error log it the oidc access token verify method is set to none#2795
fschade wants to merge 1 commit into
opencloud-eu:mainfrom
fschade:fix-missing-oidc-sub-session

Conversation

@fschade
Copy link
Copy Markdown
Member

@fschade fschade commented May 19, 2026

Description

as described in #2455 oc logs an unnecessary error if the oidc access token verify method is set to none AND generating a cache key fails.

Related Issue

How Has This Been Tested?

  • tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation added

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 19, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 24 complexity · 7 duplication

Metric Results
Complexity 24
Duplication 7

View in Codacy

🟢 Coverage 57.69% diff coverage · 0.00% coverage variation

Metric Results
Coverage variation 0.00% coverage variation (-1.00%)
Diff coverage 57.69% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1462301) 81224 18667 22.98%
Head commit (4572848) 81228 (+4) 18667 (+0) 22.98% (0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#2795) 26 15 57.69%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@fschade fschade force-pushed the fix-missing-oidc-sub-session branch from c747a62 to 4572848 Compare May 20, 2026 13:11
Copy link
Copy Markdown
Member

@rhafer rhafer left a comment

Choose a reason for hiding this comment

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

@fschade looks good to me. Any reason why this is set to draft?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Proxy logs ERR failed to build subject.session error="invalid key format" on every request when using external IDP with opaque access tokens

2 participants