docs: clarify end-user integrations should use OAuth/portal endpoints

Add guidance that admin authentication endpoints are scope-restricted and not intended for end-user SDK integrations.
This commit is contained in:
Andy Dixon
2026-02-26 11:52:41 +00:00
parent 78a18ccfab
commit cb0bd43d04
+1
View File
@@ -131,6 +131,7 @@ This wrapper now delegates to `BlackWall\Auth\AuthClient`.
- 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).
- Use OAuth/portal authentication endpoints for end users; provider admin login endpoints enforce separate admin scope checks.
- For OIDC providers, include a per-request `nonce` in authorisation requests.
- Always use HTTPS in production.
- Store refresh tokens securely.