I like this but I’m a bit concerned of what happens when the Kinde servers are offline for some reason. Then my whole app doesn’t work anymore, right? I don’t like it when my auth logics depends on a third party service. I mean it’s very essential.
Unfortunately, using sas for auth and authorization is not something that startups and even more so medium-sized companies are willing to sacrifice. if, for example, emailing or file uploading can be left to sas, but users, their administration and so on is unlikely. it would be great if another player or library appeared on the market that solved the authentication problem well. we only have two big things right now, right? next-auth and lucia. the former is still very raw and confusing, and the latter has less support and poor documentation
No one should ever use SAAS for auth or databases for anything that is not a small hobby project. All these companies are just selling shovels in a gold rush.
Great video! Thanks for the comprehensive explanation on managing roles and permissions with Kinde. I have a question: could you make a video showing how an admin can create accounts for other users, like clients, support agents, or sales representatives? Specifically, I'm interested in the admin selecting a role from a list (e.g., client, support agent, representative) when creating these accounts. Is this possible with Kinde, and if so, how can it be implemented? I have a use case where only the admin can create all the accounts, and other users can just sign in. Thanks in advance
0:35 is there a way with Kinde to integrate the login form inside our app as a component, instead of redirecting the user outside our app (in order to keep the layout/header/flooter etc.) ?
i need to set user role when user is signup. as an example think about job vacancy site. when user is registering user can select whether he is an employer or an employee. like that. can this be achieved by kinde auth.
I have been trying for similar thing with next-auth but unfortunately no success. There is so no direct way, dynamically adding roles has become tough.
If I remember correctly, in the video, there's a line doing `const { isAuthenticated } = ...`, then another line doing `const { getPermission } = ...`; that's why I said two calls (because on two separate lines)
I like this but I’m a bit concerned of what happens when the Kinde servers are offline for some reason. Then my whole app doesn’t work anymore, right? I don’t like it when my auth logics depends on a third party service. I mean it’s very essential.
Unfortunately, using sas for auth and authorization is not something that startups and even more so medium-sized companies are willing to sacrifice. if, for example, emailing or file uploading can be left to sas, but users, their administration and so on is unlikely. it would be great if another player or library appeared on the market that solved the authentication problem well. we only have two big things right now, right? next-auth and lucia. the former is still very raw and confusing, and the latter has less support and poor documentation
Not to mention adding another point of failure to your application.
No one should ever use SAAS for auth or databases for anything that is not a small hobby project. All these companies are just selling shovels in a gold rush.
outsourcing auth is crazy.
Great video! Thanks for the comprehensive explanation on managing roles and permissions with Kinde.
I have a question: could you make a video showing how an admin can create accounts for other users, like clients, support agents, or sales representatives? Specifically, I'm interested in the admin selecting a role from a list (e.g., client, support agent, representative) when creating these accounts. Is this possible with Kinde, and if so, how can it be implemented?
I have a use case where only the admin can create all the accounts, and other users can just sign in.
Thanks in advance
Great Tutorial! thank you.
can we have class based server actions? to support inheritance etc?
0:35 is there a way with Kinde to integrate the login form inside our app as a component, instead of redirecting the user outside our app (in order to keep the layout/header/flooter etc.) ?
if its an oath2 login then No,
if its an email based login then yes
I've learned a lot, thanks
How when each users has it's own staff how can I do it using kinde?
i need to set user role when user is signup. as an example think about job vacancy site. when user is registering user can select whether he is an employer or an employee. like that. can this be achieved by kinde auth.
I have been trying for similar thing with next-auth but unfortunately no success. There is so no direct way, dynamically adding roles has become tough.
@@KkrDs97 I also have the same requirement, how did you achieve this?
Can't we combine the two calls? `const { isAuthenticated, getPermission } = getKindeServerSession();`
Seems redundant to do them separately
Why do you think it’s two calls? It IS just one function call, it just returns a complex object.
If I remember correctly, in the video, there's a line doing `const { isAuthenticated } = ...`, then another line doing `const { getPermission } = ...`; that's why I said two calls (because on two separate lines)
@@farzadmf you might not want to integrate permissions though. so u would only do auth checks
@@MerthanMerter Ah OK, makes sense
Would be awesome to have some SolidJS && SolidStart content.
Please build a project where you'll need to host an extra Express server along with Next.js
I m first 🥇