Add Auth to Next.js with Clerk CLI and Rust @francescociulla
Add Auth to Next.js with Clerk CLI and Rust  @francescociulla
Uploaded May 2026 | Updated September 2026, 1 week ago
Get started with Clerk CLI:
go.clerk.com/eKyAJWg

Clerk CLI: clerk.com/cli
Clerk CLI Docs: clerk.com/docs/cli

The Rust series is available here:
youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1

My Products
Rust book: mybook.to/YJI6DI
Rust Workbook: francescociulla.gumroad.com/l/rustworkbook
Rust Cheatsheet: francescociulla.gumroad.com/l/rustcheatsheet

Useful Links
ALL THE LINKS HERE: francescociulla.com

In this video, I use Clerk CLI to set up authentication in a Next.js app and connect it to a Rust backend API built with Axum.

We build a small full-stack authentication project using Next.js, Clerk, Rust, and Axum. You will see how to initialize Clerk with `clerk init`, add login and signup to a Next.js frontend, get the Clerk token, and send it to a Rust API using the Authorization header.

In this tutorial:
- Clerk CLI setup
- Next.js authentication
- Login and signup with Clerk
- Rust backend with Axum
- Protected Rust API route
- Clerk token / JWT flow
- Authorization header with Bearer token

GitHub repo:
github.com/FrancescoXX/clerk-cli-nextjs-axum

Timestamps:
00:00 Demo overview
00:48 Clerk CLI installation and project initialization
01:13 Next.js authentication
02:57 Login test with Clerk
03:28 Rust Axum backend
05:20 Rust API button component in Next.js
06:00 Call the Rust API with the Clerk token
06:33 Conclusion

Note: in this demo, the Rust backend reads the Clerk token from the Authorization header. In a production app, the next step would be to fully verify the JWT using Clerk JWKS or a Rust SDK.

#Clerk #ClerkCLI #Nextjs #NextjsAuth #Rust #RustLang #Axum #Authentication #Authorization #JWT #WebDevelopment #FullStack
Add Auth to Next.js with Clerk CLI and RustBuild Netflix? 🦀 #rustlang #softwareengineer #programming #jetbrains @JetBrainsTV #axum #codingGrok Bot Use Cases - Here’s How to Use It in Tech.Stop writing slow code: Rust for Developers (Full Beginner Course)I joined Zerops as Head of Developer Relations Engineer! Deploy Rust, Python, PHP, Go, Next.js appsTest Driven Development in Rust - Full Crash Rust tutorial for BeginnersIs Rust a good alternative to frameworks like Next.js, Laravel, Django for web development  in 2026?Build a CRUD Rest API - Rust, Postgres, Docker, Docker ComposeUnderstanding Traits in Rust: A Comprehensive Guide - Full New Crash Rust Tutorial for BeginnersHello world - Axum - The Rust Backend FrameworkPractical AI for DevelopersAI vs Developers: Will AI Really Replace Software Engineers in 2026?
Francesco Ciulla |

Add Auth to Next.js with Clerk CLI and Rust

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER