Choosing the Right OIDC Application Type
When you add an OIDC application, you choose its Client Type. The right choice depends on whether the application can keep a secret.
| Client Type | Choose it for | How it proves who it is |
|---|---|---|
| Web / Server Application (Confidential) | Applications with a server behind them: most web apps, SaaS products, WordPress and other CMS plugins, server-side frameworks. | A client secret, kept on the server and sent with HTTP Basic authentication when it collects tokens. |
| Public Application (PKCE) | Apps that run entirely on someone's device: mobile apps, desktop apps, and single-page browser apps with no server of their own. | PKCE: a one-time proof created for each sign-in, using SHA-256 (S256). There's no secret, because anything inside the app could be extracted. |
Quick test
- Does the application's setup screen ask for a client secret? Choose Confidential.
- Does it say "PKCE", "public client", or have no secret field? Choose Public.
- Not sure, and it's a normal website? Choose Confidential.
What both types share
- Both use the OAuth 2.0 Authorization Code flow. People sign in on ID Everywhere's page, not inside the app.
- Both support PKCE. Confidential apps can use it too, and it's recommended.
- ID tokens are signed with RS256. That's separate from PKCE's S256.
Never put a confidential client secret in a mobile app, desktop app or browser JavaScript. If an app needs to run on devices, register it as Public.