Neucron OAuth 2.0 SDK
This guide shows how to add Sign in with Neucron to any application using the @timechainlabs/neucron-ts-sdk. The flow is stack-agnostic — adapt the route names and session storage to your framework (E
Overview
OAuth flow
Prerequisites
Register your OAuth application
SDK setup
SDK OAuth methods
Method
Endpoint
Purpose
Backend implementation
1. Start login — GET /auth/login
2. Handle callback — GET /auth/callback
3. Session endpoint — GET /auth/me
4. Logout — POST /auth/logout
Frontend integration
Sign-in button
Post-login bootstrap
API usage after login
Flows: sign-in vs sign-up
Security guidelines
Verification checklist
Reference
Endpoints
Step
Method
Path
Authorize parameters
Token parameters
Platform name
MCP tools (optional)
MCP Tool
SDK equivalent
Last updated