Docs
Celest Auth

Celest Auth

Adding Auth to your Celest project takes 5 lines of code. In your project.dart file, add the following code:

celest/lib/src/project.dart
import 'package:celest/celest.dart';
 
const project = Project(name: 'my-project');
 
const auth = Auth(
  providers: [
    AuthProvider.email(),
  ],
);

That's it! When you run celest start, Celest will automatically integrate our open-source Auth backend Cloud Auth (opens in a new tab) and generate an Auth client for you to use in your Flutter app.