Multitenancy Authentication in NestJs

preview_player
Показать описание
We learn how to authenticate users in a multitenant application, where each tenant has their own unique secret key for generating and verifying access tokens.

Timestamps:
--------------------
0:00 - Multitenancy Implementation Recap
6:10 - Authentication: Single Tenant vs Multi-Tenant
9:40 - Overview of our tasks
11:24 - Create new tenant API
18:40 - Handling Tenant JWT Secret keys
36:14- Creating our Login API
42:42- Creating our Tenant Auth Guard
52:23- Summary
Рекомендации по теме
Комментарии
Автор

thanks so much.one of the most underrated channel

dreamsachiever
Автор

My favorite creator dropped a video again! Can't wait to watch it fully

Naya-ssvs
Автор

You saved my life!!! please keep going! Thank you so much

OussamaDouadi-ij
Автор

Great content !!! Every step explained. Nice job. Thank You.

tomaszstec
Автор

Can u revised to use Prisma, postgres, graphql ? 😊

soenghakkchoeurn
Автор

thanks for the content! How would we registers the users for specific tenants ?

GabrielSantos-nxzq
Автор

Isn't it a good approach to store the tenant_id inside the JWT token rather that create a separated secret for each tenant? so there is no need for the client to send his tenant_id in the header

waseemha
Автор

If i need different sub domains for different tenants and wanted to keep users details in tenants database instead of Master, so as to manage GDPR norms, what should i do? could you please help to fix this problem.

avinashchirame
Автор

Suppose that we build something like SASS: There are 3 companies/partners in our system (A, B, C), every company has their own users and products. There are 2 roles with permissions and root-admin for system. Let authorize for them. Wow @@, hope u make some tutorial about it.

minhtrduc
Автор

Thank so much. One question, How can I improve product provider. I have read about dynamic modules to do that, could it work?

jahc
Автор

we need one full project on nestjs with prisma and postgresql following microservice

technoinfoworldwide
Автор

can you share this source code? thanks

MrHuflit