aawssm / flutter_social_auth

Social Authentication with Flutter Wihtout Firebase The app allows users to log in using social OAuth Google GitHub LinkedIn Twitter Microsoft Slack Facebook.

Home Page:https://youtu.be/V7-Cp6n4kjg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social Authentication with Flutter Wihtout Firebase

The app allows users to log in using social OAuth

  • Google
  • GitHub
  • LinkedIn
  • Twitter
  • Microsoft
  • Slack
  • Facebook.

This project is a Flutter application that demonstrates how to implement social authentication on android web windows ios using a Node.js backend API

The app uses the following dependencies:

  • routemaster: A simple and flexible routing library for Flutter.
  • url_launcher: A Flutter package for launching URLs.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/social-auth-flutter.git

  1. Install dependencies by running the following command in the project directory:
flutter pub get

  1. In the lib/api/dio.dart file, change the baseDiol variable to match the URL of your backend API.
  2. Run the app on an emulator or physical device using the following command:
flutter run

After clicking on the desired social login button, the app launches a URL using the url_launcher package to initiate the OAuth authentication flow. Once the user has successfully authenticated with the chosen provider, they will be redirected back to the app and receive an access token.

The app uses the routemaster package to manage the different pages of the app, including the login page, home page, and social login callback pages.

About

Social Authentication with Flutter Wihtout Firebase The app allows users to log in using social OAuth Google GitHub LinkedIn Twitter Microsoft Slack Facebook.

https://youtu.be/V7-Cp6n4kjg


Languages

Language:Dart 42.8%Language:C++ 28.7%Language:CMake 22.0%Language:HTML 2.2%Language:Swift 2.0%Language:C 1.7%Language:Batchfile 0.4%Language:Kotlin 0.2%Language:Objective-C 0.0%