Generate experiences with Puck AI
Read docs
CloudAuthPuck Auth

Puck Auth

Puck Auth is experimental and may change in a future release.

Puck Auth provides managed authentication & identity to your Puck application.

With Puck Auth, you can sign in to your application with your Puck Cloud account, and give others access.

Plugin

The Auth plugin shows the signed-in user in the Puck header. Set up Puck Auth

Server APIs

Puck Auth provides server APIs for managing authentication from your server.

APIDescriptionReturns
auth.getSession()Get the session of the Puck user signed in with Puck AuthPuckSession | null
auth.signOut()Sign out the Puck user signed in with Puck Auth-

Guides

GuideDescription
Set up Puck AuthSet up Puck Auth in your application