Two-Token Authorization and Social Authentication

New Automation Tool for Your

In this project, we developed a frontend system for user authentication with two tokens - a refresh token and an access token. Additionally, I integrated Firebase for social authentication with Google, Facebook, and GitHub. The project also involved implementing field validations on both the frontend and backend to ensure data integrity and security.

    • Development of design, HTML5, CSS3, SCSS, Responsive Web Design, JavaScript, React.js, Node.js, MongoDB, Express.js, Redux, React-Redux, Hooks, Mongoose
    • React, Redux, Java Script, Node.js, Express.js, MongoDB, Firebase, HTML, SCSS
    • Automation Tool

Key Features:

Refresh Token: Implemented a mechanism for generating and refreshing refresh tokens. Users receive a refresh token upon successful authentication, which can be used to obtain a new access token when it expires.

Access Token: After successful authentication, users are granted an access token that is used for authorization when accessing protected resources on the frontend. The access token has a limited lifespan and needs to be refreshed using the refresh token when it expires.

Social Authentication: Enabled users to authenticate using popular social media platforms such as Google, Facebook, and GitHub, leveraging Firebase Authentication. Users can choose their preferred social authentication method and obtain an access token for system access.

Field Validations: Implemented field validations on both the frontend and backend to ensure the security and integrity of user data. Incoming user data is checked for presence and compliance with specified requirements, such as valid email format, password length, etc.

Technologies Used:

Frontend: HTML, CSS, and JavaScript were utilized to develop the user interface and handle user interactions.
Backend: Node.js with Express.js or another suitable framework/library was used to build the server-side application.
Database: MongoDB or another appropriate database was employed to store user data, tokens, and other relevant information.
Firebase Authentication: Firebase was integrated to facilitate social authentication and manage user accounts.


Successful implementation of a secure authorization system using two tokens and social authentication.

Translate ยป
Skip to content