[GH-ISSUE #5508] Add option to disable PKCE per OIDC connector (e.g., for Synology SSO) #10675

Open
opened 2026-08-05 01:26:52 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @reickbao on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5508

Description:
When using Synology SSO as the Identity Provider, the token exchange fails whenever the authorization request includes a code_challenge (i.e., when PKCE is used).

Specifically:
• If the authorization request contains code_challenge / code_challenge_method (PKCE enabled), the token request returns 401/400 with server_error.
• If PKCE is not used, the token exchange works normally with the same Client ID, Client Secret, and Redirect URI.

This indicates that Synology SSO does not properly support PKCE in its OIDC implementation.

To improve compatibility with such IdPs, it would be helpful to add an optional configuration to the OIDC connector, enable/disable PKCE.

Originally created by @reickbao on GitHub (Mar 5, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5508 Description: When using Synology SSO as the Identity Provider, the token exchange fails whenever the authorization request includes a code_challenge (i.e., when PKCE is used). Specifically: • If the authorization request contains code_challenge / code_challenge_method (PKCE enabled), the token request returns 401/400 with server_error. • If PKCE is not used, the token exchange works normally with the same Client ID, Client Secret, and Redirect URI. This indicates that Synology SSO does not properly support PKCE in its OIDC implementation. To improve compatibility with such IdPs, it would be helpful to add an optional configuration to the OIDC connector, enable/disable PKCE.
saavagebueno added the feature-request label 2026-08-05 01:26:52 -04:00
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10675