Clerk + Fauna
Integrate Clerk with Fauna to authenticate queries to your Fauna database.
Although Fauna offers built-in identity, authentication, and password management functionality, it requires that you manage the user data yourself and does not provide features like social SSO, passwordless authentication, and multi-session management.
Clerk provides these features and more without the hassle of managing your own user and identity service.
Clerk's JWT Templates allow you to customize the contents of JWTs.
Our template is pre-populated with the default claims required by Fauna, but we make it easy to include additional claims or modify them as necessary.
Shortcodes are special strings that are substituted for their corresponding values during token generation. Shortcodes are typically used to refer to data that depend on the currently authenticated user.
At Clerk, we love GraphQL. Fauna combines the flexibility of NoSQL systems with the relational querying capabilities of SQL databases into a modern, developer-friendly, transactional database with GraphQL support.
GraphQL allows for multiple resource requests in a single query call. This saves time and bandwidth by decreasing the amount of necessary network calls.
GraphQL tooling allows you to debug and try queries on a GraphQL server without having to write queries over and over again.
Fauna and Clerk are part of the modern Frontend Stack.
SaaS is moving to the frontend, enabled by easy-to-use frameworks such as Next.js. Modern web services like Clerk and Fauna, work intuitively together and don't require backend setup, allowing you to quickly develop high-quality applications.
The Frontend Stack saves time and resources, allowing you to focus on what makes your application unique.
Check out our documentation on getting started with Clerk and Fauna. Add social SSO, passwordless authentication, and multi-session management to your Fauna application in minutes.