Authorization in Nestjs API using Auth0 - Step by Step Tutorial

preview_player
Показать описание
This is step by step tutorial on how to protect your API in Nestjs using Auth0.

The step by step procedure as well as the code snippets can be found here:

There are basically 8 steps involved as given below:
👉Create a NestJs Application
👉Add Two More API Endpoints
👉Create Authorization Module and Authorization Guard
👉Modify the Authorization Guard
👉Create New API for Auth0
👉Let’s Use a .env File
👉Add the ConfigService to the Authorization Guard
👉 Finally Protect an API Endpoint

Auth0 allows you to add jwt-base authorization to your API.
You need to create a free account here:

Nestjs allows you to build REST API similar to Angular applications so you can have both backend and frontend in one view.

Learn more about Nestjs here:

My websites

Pleas join us at International Computer Programmers here:

Feel free to connect with me
Рекомендации по теме
Комментарии
Автор

How to implement authorization using middleware in nestJs?

EntertainmentWorld_Arts
Автор

What is the reason to make exactly the same example as OKTA itself

mopedroller
Автор

Hello good video, I have tried to do the step by step, in the end it has thrown me an error in the AuthorizationGuard class. Do you do any course to any material? What would be the difference between implementing a backend and a frontend that already has all the functionalities?

luis.devgreen
Автор

Hello :(
Can somebody help me
{
"statusCode": 403,
"message": "Forbidden resource",
"error": "Forbidden"
}


Thanks

thebigfher
Автор

Hello guys my name is abdul i am from India .first of all thank you for your videos it is really helpful for peoples like me .Big salute for this.And then i am searching some onsite opportunities working on other country like america, Australia, England or Canada os very big dream for me.please help me to achieve my dream i am fullstack developer in java and angular.please help me brothers

abdurmuneer
visit shbcf.ru