API Reference

Auth Providers

Focused reference for Flint Dart and Flint UI APIs, with copyable examples and practical notes.

Auth Providers

OAuth URL generation and provider metadata.

String AuthService.getGoogleAuthUrl({required String callbackUrl})

Build a Google OAuth URL with PKCE support.

String AuthService.getGitHubAuthUrl({required String callbackUrl})

Build a GitHub OAuth authorization URL.

String AuthService.getFacebookAuthUrl({required String callbackUrl})

Build a Facebook OAuth authorization URL.

String AuthService.getAppleAuthUrl({required String callbackUrl})

Build an Apple Sign In URL.

Map<String, dynamic> AuthService.getAvailableProviders()

Return configured providers and redirect base info.

Example

CodeBlock dart
app.get('/auth/google', (Context ctx) async {
  final url = AuthService.getGoogleAuthUrl(
    callbackUrl: 'http://localhost:3030/auth/google/callback',
  );
  return ctx.res.redirect(url);
});
Flint Dart logo
Flint EcosystemThe Unified Dart Technology Stack

One language powering Full-Stack Web, Cross-Platform Clients, Native AI, and Connected Robotics.

Fullstack
Client SDK
AI Engine
Hardware
Copyright 2026 Flint Dart. Maintained by Eulogia Technologies.
v 1.3.2
MIT License
Built with Dart