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
@@ -130,6 +130,7 @@ This wrapper now delegates to `BlackWall\Auth\AuthClient`.
- Always validate OAuth `state` in callback handlers.
- Handle provider callback errors (`error`, `error_description`) explicitly; treat `access_denied` as an expected user/authorisation outcome rather than a transport failure.
- Expect `access_denied` even after the consent page is displayed if provider-side project membership or tenant scope changes before consent submission.
- Register only HTTPS redirect URIs in provider client settings (HTTP should be used only for localhost loopback during development).
- For OIDC providers, include a per-request `nonce` in authorisation requests.
- Always use HTTPS in production.
- Store refresh tokens securely.