Authentication
Hosted login at the issuer. Product identity at your boundary.
Connectas redirects to the existing issuer, validates the returned transaction on the server and resolves an explicit organization and tenant membership. It never collects a customer password or verifies tokens in browser code.
Method states
What is configured, planned or unavailable
How to read capability status
- Configured
- Wired in its owning service. Configuration alone is not customer acceptance or proof that a product flow works.
- Tested
- Verified by recorded automated or browser evidence in this repository. Scope is limited to what that evidence covers.
- Planned
- Approved direction with no working product capability yet. No enable, save or purchase control is offered.
- Unavailable
- No supported path exists today. Do not present it as usable or imply a customer, security or compliance outcome.
| Method | Status | What is true today |
|---|---|---|
| Password sign-in at the issuer | Configured | The issuer owns credential verification. Connectas redirects to it and never collects a password in the product. |
| Social providers | Configured | Google, Microsoft, Facebook and X are configured in the canonical issuer and live-tested for designated deployments; Snapchat is owner-reported live. Apple, TikTok, Instagram and ChatGPT adapters are implemented but not registered, so they are not offered. Sign-in does not imply API access. Customer provider self-service is unavailable. |
| Passkeys | Tested | Issuer-owned WebAuthn registration and sign-in are hosted and locally browser-verified for tested deployments. Per-application policy and recovery controls remain partial. |
| Console login, callback and local session | Tested | Server state/nonce/PKCE S256, strict callback validation, host-only session and exact-membership bootstrap are accepted for the current internal-owner scope. Deployment still requires a registered client and secret reference. |
| Membership guard and logout | Tested | Scoped guards, origin/CSRF checks, recent-auth controls and local/issuer logout are implemented and accepted for the current internal-owner scope. |
Request path
- Start on the server. Create a one-use state, nonce and PKCE S256 transaction bound to the browser.
- Redirect to the issuer. Use the canonical
https://auth.connectas.meauthorization endpoint with an exact registered redirect URI. - Validate the callback. Check state, nonce, issuer, audience, expiry and the server-side browser binding before creating a local session.
- Resolve membership. A verified subject is not authorization. Resolve the customer organization and tenant explicitly.
- Scope the session. Use a host-only, Secure, HttpOnly cookie and authorize every sensitive read or write.
Current availability
The issuer and Connectas client SDK are composed by the Connectas server transaction. Callback validation, explicit membership resolution, CSRF protection, scoped guards and local/issuer logout are implemented and accepted for the current internal-owner scope. Public self-service remains gated.
No login form, fake success state or token in browser storage is present. Console availability depends on deployment configuration.
Server-side contract sketch
This sample imports the verified Connectas relying-party client used by the console composition. Production activation still requires a registered client, secret reference and exact callback allowlist.
import {
createConnectasClient,
MemoryRelyingPartyTransactionStore
} from '@connectas/client';
export async function createProductClient({ secrets, redirectUri }) {
return createConnectasClient({
issuer: process.env.CONNECTAS_AUTH_ISSUER,
clientId: process.env.CONNECTAS_OIDC_CLIENT_ID,
clientSecret: await secrets.resolve(
process.env.CONNECTAS_OIDC_CLIENT_SECRET_REF
),
redirectUri,
scopes: ['openid', 'profile', 'email'],
// Use a durable, one-use transaction store in a deployed service.
transactionStore: new MemoryRelyingPartyTransactionStore()
});
}
// Server-side only: create the authorization URL and keep state in an
// HttpOnly, SameSite=Lax cookie. Never put a client secret in browser code.
Sessions and logout
The product session is separate from the issuer session. Logout must revoke the local session and follow the issuer’s supported RP-initiated logout contract; clearing a browser cookie alone is not enough.
Errors that must fail closed
- Wrong issuer, audience, state, nonce or browser binding.
- Expired or replayed authorization transaction.
- Missing, revoked or out-of-tenant membership.
- Issuer/control unavailable; no synthetic success page.