docs: require HTTPS redirect URIs except localhost loopback dev

Align SDK integration guidance with provider redirect URI hardening: use HTTPS callback URLs in production and limit HTTP callbacks to localhost loopback during development/testing.
This commit is contained in:
Andy Dixon
2026-02-26 11:46:31 +00:00
parent d4a6418e5d
commit 066a0b8fb7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -140,6 +140,7 @@ try {
- Avoid printing tokens in production pages.
- Expect `429 Too Many Requests` from provider control endpoints under abuse protection; implement backoff/retry instead of tight loops.
- 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.
- Rotate client secrets for confidential clients.
- Add a unique `nonce` to each OIDC authorisation request.
- Validate `state` on every callback request.