PlintoDocs

Plinto Documentation

Everything you need to integrate secure identity management into your application. From quick starts to advanced configurations.

Quick Example

import { Plinto } from '@plinto/nextjs'

// Initialize Plinto
const plinto = new Plinto({
  issuer: process.env.PLINTO_ISSUER,
  audience: process.env.PLINTO_AUDIENCE,
})

// Protect a route
export async function GET(request: Request) {
  const session = await plinto.getSession(request)
  
  if (!session) {
    return new Response('Unauthorized', { status: 401 })
  }
  
  return Response.json({ 
    user: session.user,
    org: session.organization 
  })
}

Latest Updates

2024-01-15
v1.2.0

Enhanced Passkey Support

Added conditional UI and cross-platform sync

2024-01-10
v1.1.5

New Python SDK

Official Python SDK with async support

2024-01-05
v1.1.0

SCIM 2.0 Support

Enterprise user provisioning via SCIM

Was this helpful?