[PR #6741] [misc] fix dex approval template field name #26866

Open
opened 2026-08-05 07:07:54 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6741
Author: @CoderSufiyan
Created: 7/12/2026
Status: 🔄 Open

Base: mainHead: fix/issue-5746-dex-approval-template


📝 Commits (1)

  • e5ce2e8 [idp] fix dex approval template field name

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 idp/dex/web/templates/approval.html (+2 -2)

📄 Description

Description

The embedded Dex approval template used .ReqID but the correct template field is .AuthReqID. This caused the OAuth consent form to render with an empty hidden input, breaking the authorization flow for third-party OIDC clients using the combined server.

Changes

  • Changed .ReqID to .AuthReqID in idp/dex/web/templates/approval.html (2 occurrences)

Documentation

  • Documentation is not needed for this change (template fix)

Fixes #5746

Summary by CodeRabbit

  • Bug Fixes
    • Fixed approval and rejection actions to submit the correct authentication request identifier, ensuring access decisions are processed reliably.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6741 **Author:** [@CoderSufiyan](https://github.com/CoderSufiyan) **Created:** 7/12/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/issue-5746-dex-approval-template` --- ### 📝 Commits (1) - [`e5ce2e8`](https://github.com/netbirdio/netbird/commit/e5ce2e8baa5e2ce23e7f75b3cc03e981c039cbc0) [idp] fix dex approval template field name ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `idp/dex/web/templates/approval.html` (+2 -2) </details> ### 📄 Description ## Description The embedded Dex approval template used `.ReqID` but the correct template field is `.AuthReqID`. This caused the OAuth consent form to render with an empty hidden input, breaking the authorization flow for third-party OIDC clients using the combined server. ## Changes - Changed `.ReqID` to `.AuthReqID` in `idp/dex/web/templates/approval.html` (2 occurrences) ## Documentation - [x] Documentation is **not needed** for this change (template fix) Fixes #5746 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed approval and rejection actions to submit the correct authentication request identifier, ensuring access decisions are processed reliably. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 07:07:54 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#26866