# AuthEndpoints > Sign-up and sign-in endpoints for ASP.NET Core Identity: passwords, passkeys, emailed codes, GitHub and Google, two-factor codes, cookies, and tokens. ## Documentation Sets - [AuthEndpoints - Full Documentation](https://authendpoints.harten.id/llms-full.txt): Complete documentation for AuthEndpoints: get started, guides, composable endpoints, reference, and concepts. ## Get started - [Introduction](https://authendpoints.harten.id/raw/getting-started.md): AuthEndpoints is an ASP.NET Core library of ready-made Identity auth endpoints for web and mobile clients. - [Install AuthEndpoints](https://authendpoints.harten.id/raw/getting-started/installation.md): Add the AuthEndpoints NuGet package to an ASP.NET Core project, check the .NET 10, Identity, and EF Core requirements, and add GitHub or Google. - [Quick start: add cookie sign-in to an API](https://authendpoints.harten.id/raw/getting-started/quick-start.md): Build a minimal ASP.NET Core API where a user registers, confirms their email, signs in with a cookie, and signs out. - [Choose your AuthEndpoints sign-in setup](https://authendpoints.harten.id/raw/getting-started/choose-a-sign-in-stack.md): Match a client and a sign-in method to one AuthEndpoints call, then open the page that shows that call. - [Call the API from a browser](https://authendpoints.harten.id/raw/getting-started/browser-clients.md): Send cookies and CSRF tokens from a browser client, and set up CORS when the client runs on another origin. - [Use the AuthEndpoints skill with coding agents](https://authendpoints.harten.id/raw/getting-started/ai-agents.md): Add the AuthEndpoints skill to your app so that coding agents follow the library's conventions. - [3.x facade, kept for compatibility](https://authendpoints.harten.id/raw/getting-started/compatibility-facade.md): AddAuthEndpoints and MapAuthEndpoints keep the 3.4.1 options, the AuthEndpointsSignIn values, and the /identity, /account, and /auth routes. - [Upgrade to 4.0](https://authendpoints.harten.id/raw/getting-started/upgrading-to-4.md): Breaking changes from AuthEndpoints 3.x to 4.0, starting with the unified sign-in completer. ## Guides - [Guides](https://authendpoints.harten.id/raw/guides.md): Task list for registration, sign-in, account management, and production setup. - [Register users](https://authendpoints.harten.id/raw/guides/registration.md): Create accounts with an email and password, a passkey, or a GitHub or Google account. - [Sign users in](https://authendpoints.harten.id/raw/guides/sign-in.md): Sign users in with a password, an emailed code, a passkey, or GitHub or Google, and handle two-factor codes and recovery codes. - [Sign users out](https://authendpoints.harten.id/raw/guides/sign-out.md): Sign users out of the cookie, Identity bearer, or JWT stack: which logout route to call, whether it needs CSRF, and what each route ends. - [Turn on two-factor authentication](https://authendpoints.harten.id/raw/guides/two-factor.md): Turn authenticator two-factor authentication on and off, and issue recovery codes. - [Sign in with an emailed code](https://authendpoints.harten.id/raw/guides/email-code.md): Send a one-time code, verify it, and optionally create an account or accept a magic-link token. - [Reset a forgotten password](https://authendpoints.harten.id/raw/guides/reset-password.md): Reset a forgotten password with AuthEndpoints: request a reset email, build the reset screen, post the new password, then sign the user in. - [Change a user's email or password](https://authendpoints.harten.id/raw/guides/manage-account.md): Read account info, change the password, and change the email after the user confirms the new address. - [Add, rename, and remove passkeys](https://authendpoints.harten.id/raw/guides/manage-passkeys.md): Let a signed-in user add a passkey to their account, list passkeys, rename them, and remove them. - [Link and unlink GitHub or Google accounts](https://authendpoints.harten.id/raw/guides/link-external-accounts.md): Let a signed-in user link a GitHub or Google login to their account, list linked logins, and unlink one. - [Require step-up before sensitive actions](https://authendpoints.harten.id/raw/guides/step-up.md): Ask a signed-in user to prove their identity again before a sensitive change, then retry the change. - [Run an app with no public sign-up](https://authendpoints.harten.id/raw/guides/internal-app.md): Map password sign-in, recovery, and account management without a public register route. - [List and revoke signed-in sessions](https://authendpoints.harten.id/raw/guides/active-sessions.md): Let users see where they are signed in and sign out other browsers or devices, for cookie and JWT sessions. - [Expose an MCP server with per-user OAuth](https://authendpoints.harten.id/raw/guides/mcp-server-oauth.md): Let AI assistants and other MCP clients connect to your app as the signed-in person, with that person's roles and only the scopes they approved. - [Bind a host context to an OAuth grant](https://authendpoints.harten.id/raw/guides/oauth-grant-context.md): Keep an OAuth client in the organization, workspace, or region the person chose at consent, and check it again at every refresh. ## Composable endpoints - [Build a custom auth stack](https://authendpoints.harten.id/raw/composables.md): Compose Add and Map pairs on your prefixes. A custom host follows the rules and can copy a host for email-code, external, passkey, or JWT sign-in. ## Reference - [Endpoint reference](https://authendpoints.harten.id/raw/modules/endpoints.md): Every route that AuthEndpoints maps, with its auth, CSRF, ReAuth, and rate-limit requirements. - [Password auth: one session under /auth](https://authendpoints.harten.id/raw/modules/password-auth.md): What AddPasswordAuth and MapPasswordAuth register and map, and the building-block calls they expand to. - [Composition table](https://authendpoints.harten.id/raw/modules/composition.md): Add and Map pairs, the routes each one maps, whether the group is per session or shared, and which snapshots contain it. - [Identity management module](https://authendpoints.harten.id/raw/modules/identity-management.md): Account lifecycle endpoints — register, confirm, forgot/reset password, manage info and 2FA. - [Cookie sign-in module](https://authendpoints.harten.id/raw/modules/cookie-auth.md): Identity cookie login, logout, and CSRF token endpoints for browser/web clients. - [Identity bearer sign-in module](https://authendpoints.harten.id/raw/modules/bearer-auth.md): Set up Identity bearer token login, refresh, and logout for mobile apps and token clients, and decide when to use bearer tokens instead of JWT. - [JWT module](https://authendpoints.harten.id/raw/modules/jwt.md): JWT access tokens with a hashed refresh token, cookie or JSON body transport, and reuse detection. - [Passkeys module](https://authendpoints.harten.id/raw/modules/passkeys.md): WebAuthn passwordless register/login and credential management endpoints. - [ReAuth module](https://authendpoints.harten.id/raw/modules/reauth.md): Require step-up reauthentication before sensitive account and passkey changes: ReAuth routes, proof lifetime, client flow, and host endpoints. - [External OAuth packages](https://authendpoints.harten.id/raw/modules/external-oauth.md): GitHub and Google sign-in. The endpoints live in AuthEndpoints 4.0. The provider packages only register handlers. - [Configuration options](https://authendpoints.harten.id/raw/modules/configuration.md): Reference for PasswordAuthOptions and the module options that a password-facade or composed host sets. - [Antiforgery (CSRF) rules](https://authendpoints.harten.id/raw/modules/csrf.md): Which AuthEndpoints routes require an antiforgery token, when the check is skipped, and what a failure returns. - [Responses and errors](https://authendpoints.harten.id/raw/modules/errors.md): Look up the success and error responses for each AuthEndpoints module: status codes, problem details, validation errors, and OAuth errors. - [Rate-limit policies](https://authendpoints.harten.id/raw/modules/rate-limits.md): The rate-limit policies AuthEndpoints registers, their limits, and the routes that use them. - [Email-code module](https://authendpoints.harten.id/raw/modules/email-code.md): Reference for emailed one-time codes, optional sign-up, and optional magic links. - [OAuth server (OpenIddict)](https://authendpoints.harten.id/raw/modules/openiddict.md): Opt-in package that lets other apps and tool clients sign users in through your app and get access and ID tokens. - [People and agents](https://authendpoints.harten.id/raw/modules/callers.md): Tell a person calling directly apart from an AI agent or client with a delegated token, or an API key, and keep person-only actions for people. ## Concepts - [AuthEndpoints vs MapIdentityApi and others](https://authendpoints.harten.id/raw/concepts/compare.md): How AuthEndpoints differs from wiring Identity yourself, from OpenIddict, and from MapIdentityApi. - [Security model](https://authendpoints.harten.id/raw/concepts/security-model.md): How AuthEndpoints hides which accounts exist, finishes each sign-in in a session, protects account changes, and which trade-offs it leaves to the host. - [Prepare for production](https://authendpoints.harten.id/raw/concepts/production.md): Checklist for deploying AuthEndpoints: HTTPS, core settings, email codes, JWT, GitHub and Google OAuth, browser setup, and startup validation. - [FAQ](https://authendpoints.harten.id/raw/concepts/faq.md): Does AuthEndpoints replace Identity? Cookies, JWT, or opaque bearer tokens? Logout, chosen routes, and passkeys compared with MapIdentityApi. ## Changelog - [AuthEndpoints.External.OAuth 3.0.0-preview.1](https://authendpoints.harten.id/raw/versions/external-oauth-v3.0.0-preview.1.md): First preview of modular GitHub/Google OAuth endpoints. - [AuthEndpoints.External.OAuth 3.0.0-preview.2](https://authendpoints.harten.id/raw/versions/external-oauth-v3.0.0-preview.2.md): Production hardening — verified email, safer linking, error redirects, JWT completer, account link/unlink. - [AuthEndpoints.External.OAuth 3.0.0-preview.3](https://authendpoints.harten.id/raw/versions/external-oauth-v3.0.0-preview.3.md): Retarget the preview OAuth package to depend on stable AuthEndpoints 3.0.0. - [AuthEndpoints.External.OAuth 3.0.0-preview.4](https://authendpoints.harten.id/raw/versions/external-oauth-v3.0.0-preview.4.md): Verified GitHub and Google email, safe auto-link, link and unlink hardening, and a package split. - [AuthEndpoints.OpenIddict 4.0.0-preview.1](https://authendpoints.harten.id/raw/versions/openiddict-v4.0.0-preview.1.md): New opt-in OAuth 2.0 authorization server and OpenID Connect provider for AuthEndpoints 4 apps, built on OpenIddict 7.7. - [AuthEndpoints.OpenIddict 4.0.0-preview.4](https://authendpoints.harten.id/raw/versions/openiddict-v4.0.0-preview.4.md): Per-user OAuth for APIs and MCP servers, with roles on access tokens, scope checks, per-resource metadata, client ID metadata documents, readable scopes on the consent card, connected apps, audit events, and token endpoint rate limits. - [AuthEndpoints.OpenIddict 4.0.0-preview.5](https://authendpoints.harten.id/raw/versions/openiddict-v4.0.0-preview.5.md): Delegated tokens are marked as agents, person-only APIs refuse them, metadata works under a PathBase, audit events follow the host's transaction, a per-address token rate limit, and validators that read the grant. - [AuthEndpoints.OpenIddict 4.0.0-preview.6](https://authendpoints.harten.id/raw/versions/openiddict-v4.0.0-preview.6.md): Access-token validation has a short scheme name. ValidationScheme is obsolete and keeps the same value. - [v3.0.0](https://authendpoints.harten.id/raw/versions/v3.0.0.md): First stable 3.0 release — opinionated facade, cookie / bearer / JWT, passkeys, 2FA, and ReAuth on .NET 10. - [v3.0.0-alpha.1](https://authendpoints.harten.id/raw/versions/v3.0.0-alpha.1.md): Cookie auth, Identity API endpoints, and step-up ReAuth — start of the 3.0 line. - [3.0.0-alpha.11](https://authendpoints.harten.id/raw/versions/v3.0.0-alpha.11.md): Hardened JWT auth and finished passwordless PasskeyEndpoints. - [v3.0.0-alpha.8](https://authendpoints.harten.id/raw/versions/v3.0.0-alpha.8.md): Updated ReAuth cookie scheme. - [v3.0.0-rc.1](https://authendpoints.harten.id/raw/versions/v3.0.0-rc.1.md): Identity/Passkey hardening and the opinionated AddAuthEndpoints facade. - [v3.0.0-rc.2](https://authendpoints.harten.id/raw/versions/v3.0.0-rc.2.md): Split Identity management from sign-in and harden JWT defaults. - [v3.0.0-rc.3](https://authendpoints.harten.id/raw/versions/v3.0.0-rc.3.md): Roles-aware AddAuthEndpoints overload and public login rate-limiting API. - [v3.0.0-rc.4](https://authendpoints.harten.id/raw/versions/v3.0.0-rc.4.md): Pluggable passkey sign-in completer with Simple JWT support. - [v3.0.1](https://authendpoints.harten.id/raw/versions/v3.0.1.md): Passkey register and login honor CanSignInAsync / confirmed-account policy. - [v3.0.3](https://authendpoints.harten.id/raw/versions/v3.0.3.md): Identity bearer facade for native and mobile clients. - [v3.0.4](https://authendpoints.harten.id/raw/versions/v3.0.4.md): Optional factory for the user id minted during passwordless passkey registration. - [v3.0.5](https://authendpoints.harten.id/raw/versions/v3.0.5.md): Passwordless passkey register sends confirmation email; register creates only new accounts. - [v3.0.6](https://authendpoints.harten.id/raw/versions/v3.0.6.md): Simple JWT refresh rotation is atomic under concurrent requests. - [v3.0.7](https://authendpoints.harten.id/raw/versions/v3.0.7.md): Hosts can redirect browser email confirmation to an SPA route with status and flow query params. - [v3.0.8](https://authendpoints.harten.id/raw/versions/v3.0.8.md): Passkey login requestOptions takes JSON email; MapPasskeyEndpoints fails fast if the user store lacks passkey or email support. - [v3.1.0](https://authendpoints.harten.id/raw/versions/v3.1.0.md): ReAuth.Lifetime configures cookie and reauthToken expiry (default 5 minutes). - [v3.1.1](https://authendpoints.harten.id/raw/versions/v3.1.1.md): Passkey and other CSRF-protected endpoints no longer return 500 when JWT is not enabled. - [v3.2.0](https://authendpoints.harten.id/raw/versions/v3.2.0.md): Step-up is an extra proof bound to the security stamp, and CSRF skips only for an Authorization Bearer header. - [v3.3.0](https://authendpoints.harten.id/raw/versions/v3.3.0.md): Opt-in email-code sign-in, with sign-up and magic links off until you enable them. - [v3.3.1](https://authendpoints.harten.id/raw/versions/v3.3.1.md): Email-code sign-up survives a conflicting create, and a magic-link LinkUri must be absolute. - [v3.4.0](https://authendpoints.harten.id/raw/versions/v3.4.0.md): Smaller Map methods for sessions, passkeys, confirm-email, and account management. Facade routes stay the same. - [v3.4.1](https://authendpoints.harten.id/raw/versions/v3.4.1.md): Passkey register returns the bearer or JWT token response when sign-in is allowed. - [v4.0.0](https://authendpoints.harten.id/raw/versions/v4.0.0.md): One sign-in completer, email-code step-up, JWT body refresh, set-password, and AddPasswordAuth. AddAuthEndpoints stays the 3.4.1 facade. - [v4.0.1](https://authendpoints.harten.id/raw/versions/v4.0.1.md): Mapping a route group once no longer logs a duplicate-route warning for every route. - [v4.0.2](https://authendpoints.harten.id/raw/versions/v4.0.2.md): Email-code sign-in alone leaves the step-up send route unmapped, a password facade with passkeys rejects an extra cookie or management map, and passkey ceremonies require antiforgery only for an ambient credential. - [v4.0.3](https://authendpoints.harten.id/raw/versions/v4.0.3.md): External sign-in failures always redirect to a local URL, the NuGet README is refreshed, and published packages include build provenance. - [v4.0.4](https://authendpoints.harten.id/raw/versions/v4.0.4.md): Configuration errors name the user type that does not derive from IdentityUser and the signing key property a JWT algorithm needs. - [v4.1.0](https://authendpoints.harten.id/raw/versions/v4.1.0.md): Users can list and revoke their signed-in sessions, AddPasswordAuth registers Identity roles, and clients can list external sign-in providers. - [v4.1.1](https://authendpoints.harten.id/raw/versions/v4.1.1.md): Password reset and email sign-in codes are sent only to the account's stored email address. - [v4.2.0](https://authendpoints.harten.id/raw/versions/v4.2.0.md): Hosts and packages can choose which bearer schemes skip the RequireAntiforgery CSRF check, a route can require the token from every caller, and the package ships its agent skill. - [v4.3.0](https://authendpoints.harten.id/raw/versions/v4.3.0.md): Tell a person calling directly apart from an AI agent with a delegated token or an API key, keep person-only routes for people, and read each request with exactly one handler. - [v4.4.0](https://authendpoints.harten.id/raw/versions/v4.4.0.md): Short names for the any-caller scheme and the OpenIddict access-token scheme, a password-removed notice, account management for accounts without an email, and route maps that follow the capabilities a host registered.