8000 fix(backend): oidc client id check by g-kedev · Pull Request #1620 · adfinis/timed · GitHub
[go: up one dir, main page]

Skip to content

fix(backend): oidc client id check - #1620

Merged
g-kedev merged 1 commit into
adfinis:mainfrom
g-kedev:fix/backend-oidc-aud-claim
Dec 4, 2026
Merged

g-kedev merged 1 commit into
adfinis:mainfrom
g-kedev:fix/backend-oidc-aud-claim

Conversation

@g-kedev
@g-kedev g-kedev commented Nov 20, 2026
Copy link
Copy Markdown
Contributor

No description provided.

@g-kedev g-kedev self-assigned this Nov 20, 2026
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch 2 times, most recently from 084f9b3 to 8488432 Compare November 24, 2026 14:12
Comment thread backend/timed/settings.py Resolved
Comment thread charts/timed/values.yaml Resolved
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch 3 times, most recently from eabefa5 to 80fd927 Compare December 4, 2026 09:30
@g-kedev
g-kedev marked this pull request as ready for review December 4, 2026 09:34
@g-kedev
g-kedev requested a review from a team as a code owner December 4, 2026 09:34
@trowik trowik left a comment •
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As discussed in person:
Add the new env var (if necessary) to the values.yaml/auth and configmap-backend.yaml as well

  OIDC_ALLOWED_CLIENT = {{ .Values.auth.oidc.allowedOIDCClient | quote }}

But as @c0rydoras mentioned, we could compare against OIDC_RP_CLIENT_ID directly

@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch from 80fd927 to 1443078 Compare December 4, 2026 09:54
@g-kedev
g-kedev requested a review from a team as a code owner December 4, 2026 09:54
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch from 1443078 to a45240c Compare December 4, 2026 09:57
@g-kedev
g-kedev commented Dec 4, 2026
Copy link
Copy Markdown
Contributor Author

As discussed in person: Add the new env var (if necessary) to the values.yaml/auth and configmap-backend.yaml as well

  OIDC_ALLOWED_CLIENT = {{ .Values.auth.oidc.allowedOIDCClient | quote }}

But as @c0rydoras mentioned, we could compare against OIDC_RP_CLIENT_ID directly

Used an existing env var (same one that OIDC_RP_CLIENT_ID uses) from values.yaml and added the entry in the configmap-backend.yaml.
I also adjusted the logic and settings.py to compare against OIDC_RP_CLIENT_ID directly.

Comment thread backend/timed/authentication.py Resolved
Comment thread backend/timed/authentication.py Resolved
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch 2 times, most recently from 23dbfaa to b28893b Compare December 4, 2026 10:37
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch from b28893b to 393d7f8 Compare December 4, 2026 11:28
@g-kedev
g-kedev force-pushed the fix/backend-oidc-aud-claim branch from 393d7f8 to 1d1d2b7 Compare 8000 December 4, 2026 11:29
@trowik trowik left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for the fix 🛡️ 🎆

@g-kedev
g-kedev merged commit b8ca22d into adfinis:main Dec 4, 2026
5 checks passed
@g-kedev
g-kedev deleted the fix/backend-oidc-aud-claim branch December 4, 2026 14:23
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.

3 participants

0