Flutter: Google Sign In with REST API, JWT (2024)
Yusuf Bi̇beroğlu
33:22
Description
Flutter app that allows users to sign in with their Google accounts with REST API
What You'll Learn?
- Integrate Google Sign-In: Students will learn how to add Google Sign-In to Flutter applications, creating an easy and secure authentication process for users.
- Connect to REST API with Flutter: Students will learn how to connect Flutter applications to a REST API provided by Symfony, managing data exchange effectively.
- Students will learn how to use JSON Web Tokens (JWT) to securely manage application sessions, including storing and validating tokens.
- Students will understand how to handle asynchronous data processing and manage HTTP requests in Flutter applications.
Who is this for?
What You Need to Know?
More details
DescriptionIn this tutorial, i will build a Flutter app that allows users to sign in with their Google accounts, leveraging a REST API built with Symfony framework for authentication and JSON Web Token management.
When a user signs in through Google, our system will check if the user already exists in our database. If not, it will create a new user account. Once authenticated, either as a new or existing user, our application will generate a JSON Web Token.
This JSON Web Token is securely stored using flutter_secure_storage and allows the Flutter app to send requests and access resources.
We will be using several essential Flutter packages:
dio for making HTTP requests to our REST API.
flutter_secure_storage Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS.
package_info_plus to access app information.
provider for state management.
google_sign_in Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account.
Enable the OAuth APIs that you want, using the Google Cloud Platform API manager.
Enable the OAuth APIs that you want, using the Google Cloud Platform API manager. Make sure you've filled out all required fields in the console for OAuth consent screen.
Who this course is for:
- Who are interested in building mobile applications using Flutter and want to learn how to integrate modern authentication techniques like Google Sign-In.
In this tutorial, i will build a Flutter app that allows users to sign in with their Google accounts, leveraging a REST API built with Symfony framework for authentication and JSON Web Token management.
When a user signs in through Google, our system will check if the user already exists in our database. If not, it will create a new user account. Once authenticated, either as a new or existing user, our application will generate a JSON Web Token.
This JSON Web Token is securely stored using flutter_secure_storage and allows the Flutter app to send requests and access resources.
We will be using several essential Flutter packages:
dio for making HTTP requests to our REST API.
flutter_secure_storage Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS.
package_info_plus to access app information.
provider for state management.
google_sign_in Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account.
Enable the OAuth APIs that you want, using the Google Cloud Platform API manager.
Enable the OAuth APIs that you want, using the Google Cloud Platform API manager. Make sure you've filled out all required fields in the console for OAuth consent screen.
Who this course is for:
- Who are interested in building mobile applications using Flutter and want to learn how to integrate modern authentication techniques like Google Sign-In.
User Reviews
Rating
Yusuf Bi̇beroğlu
Instructor's Courses
Udemy
View courses Udemy- language english
- Training sessions 5
- duration 33:22
- Release Date 2024/11/17