Тёмный

Laravel Multi-Tenancy: Tenant Login & Role-Based User Management Part #2 [HINDI] 

Ajay yadav
Подписаться 14 тыс.
Просмотров 9 тыс.
50% 1

Welcome to our comprehensive Laravel Multi-Tenancy tutorial in Hindi! In this video, we'll take you through the essential steps of implementing a robust multi-tenancy system within a Laravel application.
🔐 Tenant Login & User Roles 🔑
One of the core aspects of a multi-tenancy setup is ensuring that each tenant (or customer) has their own isolated space within the application. We'll guide you through the process of setting up a secure tenant login system, allowing each tenant to access their specific resources without interfering with others. But that's not all - we'll also delve into user roles and permissions within a tenant's environment, ensuring controlled access and proper data segregation.
🚀 What You'll Learn 📚
Tenant Isolation: Discover how to architect your application to provide isolation between different tenants, ensuring their data and interactions are separate and secure.
Tenant-Specific Login: Implement a seamless login experience where tenants can access their dedicated dashboards upon authentication.
User Role Management: Learn how to assign roles and permissions to users within a tenant's space, maintaining fine-grained control over who can access what.
Enhanced Security: Understand the security measures necessary to protect data integrity and prevent unauthorized access across tenants.
Scalability Considerations: Explore best practices for scaling your multi-tenant application to accommodate a growing number of tenants while maintaining performance.
🎓 Who Should Watch 👩‍💻👨‍💻
Whether you're a beginner looking to grasp the fundamentals of multi-tenancy or an experienced Laravel developer aiming to enhance your skills, this tutorial is designed for you. Our step-by-step explanations, coupled with practical examples in Hindi, make complex concepts easy to understand and implement
Laravel Multi-Tenancy: Tenant Login & Role-Based User Management Part #2 [HINDI]
Our Playlists:
OOP In PHP:
• OOP - PHP
Git Full Tutorial
• GIT Tutorial
Laravel 9:
• Laravel 9
Vue 3 Laravel 9 Tutorial:
• Vue 3 Laravel 9
Laravel Testing:
• Laravel Testing
Nuxt Js
• NuxtJS
Laravel And Vuejs
• Laravel And Vuejs
Laravel Notifications:
• Laravel Notification
Laravel And React Js
• Laravel ReactJs
Laravel Interview Questions And Answers:
• Laravel Interview Ques...
Laravel User Management System:
• Laravel User Managemen...
Laravel Multi Auth System
• Laravel Multi Auth System
Laravel Vue3 GraphQL
• Laravel Vue 3 GraphQL
Follow us:
YoutTube: / ajayyadavexpo
Instagram: / ajayyadavexpo
Twitter : / ajayyadavexpo
Linkedin: / ajayyadavexpo
Github: github.com/ajayyadav4
Please subscribe to my channel and share the video with your friends.
#laravel #ajayyadav #multitenancy #multitenant #saasapplication #buildmultitenant

Опубликовано:

 

26 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 109   
@altaafalyidrishi8327
@altaafalyidrishi8327 9 месяцев назад
Thank you so much sir for all this. Jitna v sikha hai laravel aapki vidoes se hee sikha hai
@aakashchoudhary8270
@aakashchoudhary8270 4 месяца назад
Thanks Ajay IT was really a great series and helped me a lot to achieve the client's deadline Thanks again
@ashishsaha388
@ashishsaha388 2 месяца назад
Thank you for the great series.
@ashishsaha388
@ashishsaha388 2 месяца назад
Hello I want to use "Single Login page for tenants", So, when login it will redirect to the the dashboard of associative tenant of the user. How can proceed in this case? Thank you.
@webdev58
@webdev58 10 месяцев назад
I greatly appreciate your help.
@ajay-yadav
@ajay-yadav 10 месяцев назад
Glad to help
@kr.deepakyadav8361
@kr.deepakyadav8361 2 месяца назад
Firstly thank you for this tutorials, I have search multiple way & place but not got this type of content, so thank so much for this content, and we are requesting please continue this playlist if possible. 🙏🙏🙏
@ajay-yadav
@ajay-yadav 2 месяца назад
Glad it helped!
@AbdullahKhan-qx2jc
@AbdullahKhan-qx2jc 10 месяцев назад
Thanks bro ❤ for such great videos
@ajay-yadav
@ajay-yadav 10 месяцев назад
Glad you like them!
@hardeepsingh-ck3iw
@hardeepsingh-ck3iw 10 месяцев назад
Very informative
@ajay-yadav
@ajay-yadav 10 месяцев назад
Glad you liked it
@ShubhamSharma-sb7qq
@ShubhamSharma-sb7qq 6 месяцев назад
very nice
@NicolasEzequielAlmonacid
@NicolasEzequielAlmonacid 24 дня назад
thanks!!!
@ashutoshpandey718
@ashutoshpandey718 10 месяцев назад
Very informative video .... just wanted to know if this package will work with pusher broadcasting on multi tenant or need to do any adjustment . Thanks
@athulksuresh9164
@athulksuresh9164 Месяц назад
i have an issue in the 18:48 section , after setting tenant login , the login link is not going to tenants domain its going to central domain why its happened plz replay
@sokhibabdurasulov3323
@sokhibabdurasulov3323 5 месяцев назад
even though there are a lot of other tutorials out there this series is best. however i dont understand Indian language so it is little complicated and I have to search every move you make online for explanation.
@ajay-yadav
@ajay-yadav 5 месяцев назад
Thanks for the positive feedback! I'm glad you find the series helpful. If you have any questions or need clarification, feel free to ask. Happy coding!
@programing97
@programing97 3 месяца назад
First, thank you. Second, I hope you can answer my question, please. When creating a multi-tenant system, as I explained, how can I transfer other data to each tenant, then if I transfer it and do something new in the future, for example, adding invoices, how will I add these invoices to all tenants?
@zuberpatel983
@zuberpatel983 4 месяца назад
Thanks Ajay for detailed video on multi tenancy. I followed the same but it doesn't working for me throwing route duplicate issue and Undefined variable $errors for tenant login screen. If you guide me on this that will be really helpful to me.
@user-rw1vs8dq6k
@user-rw1vs8dq6k 8 месяцев назад
Have you not created your own SaaS since you handle the tenancy issue well? This tutorial is excellent, I did it successfully, I'm already going through the crud of products each tenancy. thanks my friend! success keep it up!!
@ajay-yadav
@ajay-yadav 8 месяцев назад
Thank you for your kind words! Good luck 🤗
@AhmedSaadHassan
@AhmedSaadHassan 3 месяца назад
Thank you, i have watched two videos without understand your language 😁 , but in the end you help me to fix my problems
@ajay-yadav
@ajay-yadav 3 месяца назад
Haha, no worries! Technical explanations can be tricky sometimes. I'm glad I could help you get things working in the end, even if it took a little back-and-forth. Feel free to ask if you have any other questions, and I'll try to explain them in a clearer way!
@AhmedSaadHassan
@AhmedSaadHassan 3 месяца назад
​@@ajay-yadav I just need to know how i can control Tenant status? for example how i can stop access on Tenant 1 with out delete it
@ajay-yadav
@ajay-yadav 3 месяца назад
You can deactivate a tenant account by simply utilizing a flag and integrating it within your middleware.
@user-rw1vs8dq6k
@user-rw1vs8dq6k 5 месяцев назад
Hi, friend! excellent course, thank you very much for sharing this knowledge! Do you think you can help me deploy this application in Digital ocean? thank you so much.
@odd7107
@odd7107 4 месяца назад
my tenant is getting authenticated from super-admin->users table, though middleware is preventing from it; & im getting fetal error!! help !!! & i think you have skipped some code to edit on video.
@user-iv1il1yg9w
@user-iv1il1yg9w 10 месяцев назад
Please make a video of laravel twilio chat and video calling integration
@shadyarbzharothman8689
@shadyarbzharothman8689 3 месяца назад
Thanks, but I have a question when you copy all the controller including the login one into the tenant so when you login how does it automatically now which User model to use? Because in the auth flle we have our User controller that's a pth to the admin User model so when you login as a tenant how it automatically change that? I have this issue and I create a middleware for it to check if it's a tenant route so If it's a tenant route I update the User model that auth by default user in 'config.auth' file so when I say auth()->attempt() it use the correct model But you didn't do that and it works how?
@gauravamoli9277
@gauravamoli9277 5 месяцев назад
suppose we want to introduce customer panel also based on same tenancy and guards how can we do that . i also want to write the customer routes in separate route file
@fazlulhoquesawrav4350
@fazlulhoquesawrav4350 10 месяцев назад
tenancy working well in localhost, but after upload in server it's not working. maybe need to change in server side. but i have no idea about it.
@user-wh9uy8pq4d
@user-wh9uy8pq4d 7 месяцев назад
I have one issue with this integration. When I login with tenant details it is showing the super admin details in navigation and in edit profile. I am not sure what I missed. In video at 20:51
@jasvinderkumar6725
@jasvinderkumar6725 8 месяцев назад
Very informative video 👌 Please update your mic on next videos.
@ajay-yadav
@ajay-yadav 8 месяцев назад
Noted
@RamuRamu-eu2sx
@RamuRamu-eu2sx 8 месяцев назад
sir make video for laravel otp verification when user login
@FarmTours-xj5lo
@FarmTours-xj5lo 7 месяцев назад
would you convert our existing project in multi tenancy
@diegogiardina4005
@diegogiardina4005 6 месяцев назад
Hi i'm following your guide and i do part 1 in laravel 10 but now i see that i haven't ProfileController in my project because laravel 10 don't have it, i have to create it? Thanks
@yunusemre5654
@yunusemre5654 3 месяца назад
Can I use the domain name of one of the tenants only with the domain and not with the subdomain?
@user-rw1vs8dq6k
@user-rw1vs8dq6k 8 месяцев назад
How difficult is it to create a tenancy app with Laravel and Vue.js on the front end? Is it difficult, guide me?
@anikmondal464
@anikmondal464 8 дней назад
Thank you for the informative series. I'm currently experiencing an issue with the tenant route not loading in the tenant view file. In the welcome view of the tenant folder, the route('login') URL is being fetched from web.php instead of tenancy.php route. Can you help me with a solution for this issue?
@Safarnamacafe
@Safarnamacafe 7 месяцев назад
If i used same route on tenant.php it give error ..route name already exists like login
@future_of_coding
@future_of_coding 10 месяцев назад
@Ajay Sir, How are you? looking for a laravel application using jetstream fortify livewire multi auth, by default we got user login, registration, dashboard and 2fa, want for admin also different db table, different admin login, logout, dashboard admin 2fa, I tried but can't make it, after this series, can you make a tutorial for us, it's a humble request.
@youtubepreacher6642
@youtubepreacher6642 9 месяцев назад
How could Super Admin may Access Tenants DB's
@user-gh6vq4wr1m
@user-gh6vq4wr1m 2 месяца назад
Hello sir i'm using laravel/ui auth how can i set tenant route. can you please help me ?
@dharmikpatel2482
@dharmikpatel2482 6 месяцев назад
Ajay Bhai, i facing issue creation plan , do migration in tenant or landlord. or only landlord my humble request make 3rd video about Plans in Tenancy Series. 🙏
@eduardohpaludo
@eduardohpaludo 6 месяцев назад
Do you have a github repository for this project?
@tsdexter5027
@tsdexter5027 2 месяца назад
sir if i want to create custom roles from tenant domain how do i make them. i was trying to create new role through the tenant user id but the roles are not getting saved in the tenant database , they saves in the main database how to solve this problem i have researched all about it but my problem is not resolved. CAN YOU PLEASE HELP ME
@user-rw1vs8dq6k
@user-rw1vs8dq6k 25 дней назад
Buddy, do you know how to deploy this type of multi-tenat application with multiple databases? Or do you know of any article that teaches how to deploy it? Can you help me if you know how? please
@codelaravel
@codelaravel 2 месяца назад
how super admin can login as a tenant from super admin.
@SaddamHussain-pv8jv
@SaddamHussain-pv8jv 10 месяцев назад
How to make api with multi tenancy
@technicalpointsolutionbesm344
@technicalpointsolutionbesm344 5 месяцев назад
how can i host this app on live server
@ronakvyas8881
@ronakvyas8881 9 месяцев назад
tenancy working well in localhost, but after upload in server it's not working. maybe need to change in server side. but i have 50 50 idea please next video make setup on server in cpanel
@altaafalyidrishi8327
@altaafalyidrishi8327 9 месяцев назад
Sir next video aap youtude video downloader jaisa koi website ka tutorial leke aao
10 месяцев назад
Why are the subtitles always off in your videos?
@user-rw1vs8dq6k
@user-rw1vs8dq6k 3 месяца назад
Friend, is there a way to assign a type of service to the tenant when they are going to register and assign them a welcome view according to the service chosen by them or assigned by one? In short, can you have more than one welcome page depending on the tenant's company? thank you!
@ajay-yadav
@ajay-yadav 3 месяца назад
Yes, we can, but it will require additional effort.
@user-rw1vs8dq6k
@user-rw1vs8dq6k 3 месяца назад
@@ajay-yadav I understand, thanks friend! two questions my friend! Do you provide advice on this topic? And the other one, will you continue addressing this topic, do you have any interest on the channel?
@rakhiparo
@rakhiparo 3 месяца назад
Hello Ajay sir, The article was quite informative, but I encountered some problems with routing. Specifically, routes intended for tenants, such as 'profile' and 'dashboard,' are redirected to the default authentication route. I would appreciate assistance in resolving this issue. Thank you.
@ajay-yadav
@ajay-yadav 3 месяца назад
Rakhi, the issue you're experiencing may be related to middleware. Try using dd() to check the value of APP_URL in the tenant.php route file. Also, test the dashboard page without the auth middleware; if it works correctly, the issue may be with APP_URL and needs to be fixed, or you may need to use a different middleware instead of auth.
@rakhiparo
@rakhiparo 2 месяца назад
@@ajay-yadav tenant routes are not working with route(‘profile.edit’). But if i use url instead of route then it works. I am already using different middleware but this route always checks the web .php auth middleware. Please help me to resolve this issue.
@bikashpradhan4043
@bikashpradhan4043 24 дня назад
Sir i am facing the same problem . please give some solution
@dishabhandari8133
@dishabhandari8133 9 месяцев назад
Hiii Make a interview question answers video
@dishabhandari8133
@dishabhandari8133 9 месяцев назад
Also make a log file use video
@mobileapp.4739
@mobileapp.4739 10 месяцев назад
@Ajay Sir, how can we upload this multitenancy project in CPANEL shared hosting. Please Create a video on int ...................
@prankvideo2685
@prankvideo2685 9 месяцев назад
AP ko koi solution Mila ha ?
@swamybittu9628
@swamybittu9628 10 месяцев назад
please could u make it in english
@amazingsujoy8628
@amazingsujoy8628 10 месяцев назад
We want a React JS series
@ajay-yadav
@ajay-yadav 10 месяцев назад
only reactjs or laravel+reactjs ?
@odd7107
@odd7107 4 месяца назад
@@ajay-yadav laravel + inertia + react
@LileshJadav
@LileshJadav 10 месяцев назад
Are you available for freelance work?
@ajay-yadav
@ajay-yadav 10 месяцев назад
No Lilesh, will let you know
@eramitgupta271
@eramitgupta271 7 месяцев назад
Please share code?
@user-rw1vs8dq6k
@user-rw1vs8dq6k 2 месяца назад
Help me, I did everything you mentioned, I duplicated the files for the tenants, the Auth file, profile, etc., but when I click on the tenant login it sends me to the administrator login, that is, localhost:8000 and it doesn't take me to test3.localhost:8000 because it will be help me!!
@ajay-yadav
@ajay-yadav 2 месяца назад
Can you access the page at tenant.localhost:8000/?
@user-rw1vs8dq6k
@user-rw1vs8dq6k 2 месяца назад
@@ajay-yadav Yes friend, I can access tenant.localhost:8000 but when I click the login button it takes me to localhost:8000/login which should be tenant.localhost:8000/login but I don't know why that happens. and if I enter the url tenant.localhost:8000/login, if it accesses me, what doesn't work for me is when I click the login button, it sends me to localhost:8000/login
@user-rw1vs8dq6k
@user-rw1vs8dq6k 2 месяца назад
In short, the tenant's login button does not redirect me to its login page but the original one. For example, I have a tenant called test3.localhost:8000. When I click on its login button, it should redirect me to test3. .localhost:8000/login but it doesn't, what it does is redirect me to localhost:8000/login... I don't know if you understand my problem
@ajay-yadav
@ajay-yadav 2 месяца назад
I understand your problem. It might be caused by the middleware. Try removing the middleware and see if it resolves the issue.
@user-rw1vs8dq6k
@user-rw1vs8dq6k 2 месяца назад
@@ajay-yadav Sorry, what do you mean by eliminating the middleware? the middleware folder? or what file are you referring to? guide me please!
@Safarnamacafe
@Safarnamacafe 7 месяцев назад
If i using route('login') in welcome blade file it redirecting to main login page not tennat login page ...i am using your approach???@ajay-yadav
@anikmondal464
@anikmondal464 8 дней назад
I am also facing this issue have you found any solution for this?
@Safarnamacafe
@Safarnamacafe 8 месяцев назад
If we have Route::get('/') in tenant.php and same for web.php ..then it giving error or overwrite..so how i handle this situation for home route @ajay-yadav
@ajay-yadav
@ajay-yadav 8 месяцев назад
Load 'tenant.php' routes after 'web.php' routes.
@Safarnamacafe
@Safarnamacafe 7 месяцев назад
Thanks @ajay-yadav
Далее
Minecraft Pizza Mods
00:18
Просмотров 1,9 млн
DOTA 2 - КЛАССИКА
19:17
Просмотров 269 тыс.
Laravel Team Multi-Tenancy 3/3: Tenant Subdomains
11:33
Cool Tech You’ll LOVE!
21:41
Просмотров 76 тыс.
Multi-tenant Architecture for SaaS
11:07
Просмотров 108 тыс.
Minecraft Pizza Mods
00:18
Просмотров 1,9 млн