n
开始使用
为 AI 产品准备的认证基础设施Auth infrastructure for AI products

把登录这件事,一次做好。Ship identity for every product.

只填应用名称,复制提示词,让编程 Agent 完成登录、回调和 Session 配置。

GoogleGitHubMagic LinkOIDC + PKCE
nohard × Agent

让 Agent 帮你接入登录

  1. 填写应用名称
  2. 复制提示词
  3. 交给你的 Agent
Next.jsGoogleGitHubMagic Link

01

一套登录入口One login surface

Google、GitHub、Magic Link 和 OIDC 都从同一个身份中心进入。Google, GitHub, Magic Link, and OIDC from one identity center.

02

组织天然隔离Tenant isolation

每个项目 Client、成员、Session 和审计记录都属于明确的 Tenant。Every Client, member, session, and audit record belongs to a clear workspace.

03

Cloudflare 原生Cloudflare native

Worker + D1 + Email Service,部署在你已经拥有的边缘基础设施上。Worker + D1 + Email Service on infrastructure you control.

04

随时迁移Portable by design

标准 OIDC、PKCE 和可导出的身份数据,让项目不被平台锁住。Standard OIDC, PKCE, and exportable identity data keep you in control.

nohard / Auth + Mail

为下一个产品,配好基础服务

在同一个工作空间里管理登录认证、事务邮件和 Agent 接入。

nohard Auth

登录认证

只填应用名称,复制提示词,让编程 Agent 完成登录、回调和 Session 配置。

GoogleGitHubMagic LinkOIDC / MCP
开始接入

nohard Mail

内测版

为应用和 AI Agent 提供事务邮件服务。

Mail 仅限有效 Pro / Team 套餐使用,支持一次性预付。付费权益到期后停止发信。

发信域名邮件模板API / MCP
开始接入

MCP / AI ready

让 AI 工具也拥有清晰的身份边界。Give AI tools a clear identity boundary.

nohard 把 OAuth、PKCE、租户上下文和权限收敛成一层可复用的身份入口。MCP Server 可以复用同一套 Client 和用户会话,安全地调用你的业务能力。nohard brings OAuth, PKCE, tenant context, and permissions into one reusable identity layer. MCP Servers can reuse the same Client and user session to call your business tools safely.

查看 MCP 接入基础Explore the OIDC foundation

◈

MCP Server OAuth

为每个工具声明 Client、回调和 Scope,把用户授权交给标准流程。Declare a Client, callback, and scopes for each tool while standardizing user consent.

⌁

AI Agent 身份Agent identity

用 Tenant 和 Session 区分用户、团队和自动化任务,审计每一次工具调用。Separate users, teams, and automation jobs with tenant-aware sessions and auditable tool calls.

MCP connection

同一套 OIDC,连接 Web、CLI 和 AI 工具。One OIDC layer for Web, CLI, and AI tools.

issuer: auth.nohard.app

基于 nohard 构建

站点展示

发现 nohard 社区正在打造的产品。

展示你的站点

下一个展示位,留给你的产品。审核通过的客户站点会出现在这里。

每个有效 Pro / Team 工作区提供一个展示位,支持一次性预付。提交或修改内容后都需审核,付费权益到期后停止展示。

nohard × Agent

让 Agent 帮你接入登录

只填应用名称,复制提示词,让编程 Agent 完成登录、回调和 Session 配置。

  1. 填写应用名称

  2. 复制提示词

  3. 交给你的 Agent

开始接入

Built for full-stack teams

从第一行代码开始,保持自己的边界。Keep your product boundary from line one.

你的业务项目继续拥有自己的 Session Adapter、Middleware 和页面。nohard 只负责可靠地确认身份。Your app keeps its Session Adapter, Middleware, and UX. nohard focuses on reliable identity.

创建第一个 ClientCreate your first Client →

// lib/authmout.ts

const auth = createNextAuthmout({

issuer: process.env.AUTH_ISSUER,

clientId: process.env.AUTH_CLIENT_ID,

redirectUri: process.env.AUTH_REDIRECT_URI,

});

// getUser · requireUser · signOut