magic_social_auth 0.0.1-alpha.1 copy "magic_social_auth: ^0.0.1-alpha.1" to clipboard
magic_social_auth: ^0.0.1-alpha.1 copied to clipboard

Social authentication plugin for Magic Framework. Laravel Socialite-style API with extensible drivers.

Changelog #

[Unreleased] #

📚 Documentation #

  • README: Rewrite to match Magic ecosystem format
  • doc/ folder: Add comprehensive documentation

0.0.1-alpha.1 - 2026-03-25 #

✨ Core Features #

  • Laravel Socialite-style API: SocialAuth.driver('google').authenticate() facade pattern
  • Google Driver: Native Google Sign-In SDK on mobile, auth popup on web
  • Microsoft Driver: OAuth authorization code flow via flutter_web_auth_2
  • GitHub Driver: OAuth browser flow with code exchange
  • Extensible Drivers: Register custom drivers via SocialAuth.manager.extend()
  • Custom Auth Handlers: Swap backend auth with SocialAuth.manager.setHandler()
  • Platform Detection: Conditional imports for iOS, Android, Web, macOS, Windows, Linux
  • SocialToken Model: Supports both token and code-exchange authentication flows
  • SocialAuthButtons Widget: Config-driven UI with platform filtering and loading states
  • SocialProviderIcons: SVG icon registry with custom provider support
  • Service Provider: Magic Framework IoC integration via SocialAuthServiceProvider
  • Sign Out: Global SocialAuth.signOut() clears all cached driver sessions
0
likes
150
points
83
downloads

Documentation

Documentation
API reference

Publisher

verified publisherfluttersdk.com

Weekly Downloads

Social authentication plugin for Magic Framework. Laravel Socialite-style API with extensible drivers.

Homepage
Repository (GitHub)
View/report issues

Topics

#authentication #social-auth #oauth #magic-framework #socialite

License

MIT (license)

Dependencies

flutter, flutter_web_auth_2, google_sign_in, magic

More

Packages that depend on magic_social_auth