docs: document consent-time access_denied from provider revalidation

Clarify that providers may return access_denied at callback time even after consent UI is shown, when membership/tenant scope changes before consent submission. This aligns integration guidance with current provider-side security enforcement.
This commit is contained in:
Andy Dixon
2026-02-26 11:38:13 +00:00
parent f529714f45
commit d8a28dea12
+1
View File
@@ -129,6 +129,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.
- For OIDC providers, include a per-request `nonce` in authorisation requests.
- Always use HTTPS in production.
- Store refresh tokens securely.