docs: require single OAuth client auth method per request
Document that integrations must not mix HTTP Basic and client_secret form authentication on the same token/control endpoint request, aligning with provider-side hardening.
This commit is contained in:
@@ -143,6 +143,7 @@ try {
|
|||||||
- Expect `429 Too Many Requests` from provider control endpoints under abuse protection; implement backoff/retry instead of tight loops.
|
- Expect `429 Too Many Requests` from provider control endpoints under abuse protection; implement backoff/retry instead of tight loops.
|
||||||
- Apply the same backoff strategy for provider `userinfo` calls that return `429 Too Many Requests`.
|
- Apply the same backoff strategy for provider `userinfo` calls that return `429 Too Many Requests`.
|
||||||
- For token exchange and refresh, apply bounded retry/backoff on transient provider failures instead of immediate repeated retries.
|
- For token exchange and refresh, apply bounded retry/backoff on transient provider failures instead of immediate repeated retries.
|
||||||
|
- Use exactly one client authentication method per token/control request (do not send both HTTP Basic and `client_secret` form fields together).
|
||||||
- If you call provider WebAuthn login challenge/verify endpoints directly, use `POST` only.
|
- If you call provider WebAuthn login challenge/verify endpoints directly, use `POST` only.
|
||||||
- Configure OAuth client redirect URIs as HTTPS in production; reserve HTTP for localhost loopback testing only.
|
- 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.
|
- Assume provider rate limits are enforced per source identity (for example IP) and shared across related auth endpoints.
|
||||||
|
|||||||
Reference in New Issue
Block a user