docs: prohibit URL query transport of secrets and tokens

Update SDK security guidance to explicitly forbid placing client secrets or bearer tokens in URL query strings, matching provider-side hardening against secret leakage.
This commit is contained in:
Andy Dixon
2026-02-26 12:02:21 +00:00
parent 12cefe68e8
commit f9323110ce
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -147,6 +147,7 @@ try {
- Configure OAuth client redirect URIs as HTTPS in production; reserve HTTP for localhost loopback testing only.
- Assume provider rate limits are enforced per source identity (for example IP) and shared across related auth endpoints.
- Rotate client secrets for confidential clients.
- Do not transport secrets or tokens in URL query parameters; keep them in server-side session or secure storage only.
- Add a unique `nonce` to each OIDC authorisation request.
- Validate `state` on every callback request.
- Use secure session cookies (`Secure`, `HttpOnly`, `SameSite=Lax` or stricter).