Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahmoud-anani/crash-course-oauth-in-nestjs
This repository contains a practical crash course on implementing OAuth (Open Authorization) using NestJS. The course covers essential OAuth concepts and demonstrates how to integrate OAuth in your NestJS applications for user authentication via third-party platforms like Google.
https://github.com/mahmoud-anani/crash-course-oauth-in-nestjs
authentication authorization google js nestjs nodejs oauth2 postman
Last synced: 21 days ago
JSON representation
This repository contains a practical crash course on implementing OAuth (Open Authorization) using NestJS. The course covers essential OAuth concepts and demonstrates how to integrate OAuth in your NestJS applications for user authentication via third-party platforms like Google.
- Host: GitHub
- URL: https://github.com/mahmoud-anani/crash-course-oauth-in-nestjs
- Owner: Mahmoud-Anani
- Created: 2024-08-31T07:59:13.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-31T20:42:26.000Z (5 months ago)
- Last Synced: 2024-12-30T07:36:49.913Z (about 1 month ago)
- Topics: authentication, authorization, google, js, nestjs, nodejs, oauth2, postman
- Language: TypeScript
- Homepage: https://github.com/MahmoudAbdullahAnani/Crash-Course-OAuth-in-NestJS
- Size: 163 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Crash Course OAuth in NestJS
This project is part of a crash course that explains the concept of OAuth (Open Authorization) and how to apply it for user authentication through platforms like Google. The objective of this project is to demonstrate how to integrate OAuth with the NestJS framework using the Passport library.
## Table of Contents
- **Introduction:** An overview of OAuth and its significance in modern web applications.
- **Setup:** Steps to set up the development environment and install necessary dependencies.
- **Google Integration:** How to configure OAuth using Google API and connect it to a NestJS project.
- **Implementation in NestJS:** A practical implementation of OAuth within a NestJS project using the Passport library.
- **Conclusion:** A summary of what has been learned and how to apply it in other projects.## Prerequisites
- Node.js (version 16 or higher)
- NestJS CLI
- A Google account to activate OAuth## How to Use
1. Clone this repository to your local machine:
```bash
git clone https://github.com/MahmoudAbdullahAnani/Crash-Course-OAuth-in-NestJS.git