You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PKCE (Proof Key for Code Exchange)](https://datatracker.ietf.org/doc/html/rfc7636) is an OAuth 2.0
141
+
security extension that prevents authorization code interception attacks. Coder supports PKCE when
142
+
acting as an OAuth client to external identity providers.
143
+
144
+
### OIDC Providers
145
+
146
+
For OIDC providers, PKCE support is automatically detected from the provider's
147
+
`/.well-known/openid-configuration` endpoint. If the provider advertises support for PKCE,
148
+
Coder will use it automatically. No manual configuration is required.
149
+
150
+
### OAuth Providers (External Auth)
151
+
152
+
For OAuth providers configured via external authentication, Coder will usually assume PKCE support is available with "S256" as the code challenge method.
153
+
154
+
Manual configuration is available to override any default behavior.
155
+
156
+
```env
157
+
# Enable PKCE with S256 (recommended when supported)
0 commit comments