Auth API
Better Auth Service
Running
NexToCloud Platform
Authentication Service
Dedicated auth service powering session management, JWT issuance, and organization multi-tenancy for the NexToCloud platform.
🔑Authentication
POST
/api/auth/sign-in/emailAuthenticate with email and passwordPOST
/api/auth/sign-up/emailRegister a new user accountPOST
/api/auth/sign-outRevoke the current sessionGET
/api/auth/sessionRetrieve the active session📧Password Reset
POST
/api/auth/forgot-passwordInitiate a password reset flowPOST
/api/auth/reset-passwordComplete reset using a token✉️Email Verification
POST
/api/auth/send-verification-emailSend a verification emailPOST
/api/auth/verify-emailConfirm email with a token🏢Organization
POST
/api/auth/organization/createCreate a new tenant organizationGET
/api/auth/organization/listList organizations for the current userPOST
/api/auth/organization/set-activeSwitch the active organization🛡️JWT & JWKS
GET
/api/auth/.well-known/jwks.jsonPublic key set — used by APIM for JWT validationpublicGET
/api/auth/.well-known/openid-configurationOpenID Connect discovery documentpublicPOST
/api/auth/get-tokenExchange session cookie for a signed JWT