Knowledge that builds itself
Connect sources. AI structures, documents, and suggests β so your team doesn't have to.
Trusted by teams at
Connect your sources
PDF, GitHub, URLs, Notion β bring everything into one place.
API Spec v2.pdf
2.4 MB
auth-service
github.com/team/auth-service
OAuth 2.0 RFC 6749
tools.ietf.org/html/rfc6749
Design System
notion.so/design-system
AI structures your knowledge
Entities, relationships, and concepts are automatically extracted and connected.
Extracted Entities
- CONCEPTAuthentication Flow3
- APIPOST /auth/login2
- COMPONENTJWT Token4
- COMPONENTRefresh Token2
- DECISIONJWT vs Session Token2
- PERSON@david (Backend Lead)3
Get answers and documents instantly
AI drafts documents, answers questions, and suggests next actions β all grounded in your knowledge.
Auth Service API Documentation
This document describes the authentication endpoints for the Auth Service. All endpoints are versioned under /api/v2/auth.
Overview
The Auth Service implements a stateless JWT-based authentication system with refresh token rotation. Tokens are signed using RS256 and validated at the API gateway layer without requiring a database lookup.
Endpoints
POST /auth/login
Authenticates a user and returns a JWT access token and refresh token.
POST /api/v2/auth/login
Content-Type: application/json
{
"email": "user@example.com",
"password": "β’β’β’β’β’β’β’β’"
}
Response
{
"accessToken": "eyJhbG...",
"refreshToken": "dGhpcy...",
"expiresIn": 900
}
Note: Access tokens expire in 15 minutes. Refresh tokens are valid for 7 days and are rotated on every use.
Everything your team needs
Each feature works with your knowledge base
Start building your team's knowledge base
Free to start. No credit card required.