Simple SSO
The zero-backend identity flow. Hand the widget a user object with a username and optional metadata. The account is created or updated on first comment.
Mode · SimpleUser · Someone
app/simple-sso/page.tsx
'use client';
import { FastComments } from 'fastcomments-nextjs';
import type { FastCommentsSSOSimple } from 'fastcomments-typescript';
export default function SimpleSSOPage() {
const simpleSSO: FastCommentsSSOSimple = {
username: 'Someone',
email: 'someone@somewhere.com',
avatar: 'https://example.com/avatar.jpg',
};
return (
<FastComments
tenantId="demo"
urlId="nextjs-demo-simple-sso"
simpleSSO={simpleSSO}
/>
);
}