Skip to content
Dashboard

Authentication for the frontend cloud

CEO, Clerk

​Clerk builds drop-in authentication for complete user management. Here, they explain how they've optimized their architecture for the frontend cloud.

Link to headingEnabling faster application development

app/page.tsx
import { auth, currentUser } from '@clerk/nextjs';⁡𝅶‍‍𝅺⁡‍𝅴⁡𝅴𝅹‍‍⁢𝅵‍‍⁢𝅺𝅹⁡⁣⁠𝅹⁡⁣⁡⁠𝅷‍𝅹⁢𝅺𝅸‍‍‍𝅷‍‍𝅳⁡‍⁠‍‍⁢𝅵‍‍‍𝅺
export default async function Page() {
// Retrieve the active userId
const { userId } = auth();
// Retrieve the complete user object
const { firstName, lastName } = await currentUser();
return '...';
}

Clerk now supports the Next.js App Router.

Link to headingDelivering better user experiences

Link to headingPowering composability with JWT SSO

Ready to get started?

We're excited to welcome you in to Vercel's frontend cloud. Feel free to bring any questions you may have about your team's unique applications.

Talk with Us