TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Open-Source Auth for NextJS / React

107 pointsby vexcausticover 3 years ago

11 comments

joekrillover 3 years ago
For those looking for a comparison, this is like an alternative to KeyCloak, except you have to "bring your own UI" - which I see as a pro, not a con. I've been evaluating Kratos for some time now, implementing it in a React/Redux/RTK Query app, and I've been really impressed with it. It's still not on parity with the massive feature-set and customize-ability of KeyCloak, but it's getting there pretty quickly. As of the latest release I think it's finally in a state where it can be used in production with little friction. But I'm really looking forward to what the future holds.
claystrawover 3 years ago
Hello, one of the maintainers of <a href="https:&#x2F;&#x2F;github.com&#x2F;ory&#x2F;kratos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ory&#x2F;kratos</a> (the system used in the blog post) here :) We started Ory Kratos because we saw so many developers struggle with OAuth2 and OpenID Connect. If you have any questions around application auth, OAuth2, or Go, open source I&#x27;ll try to do my best to answer them accurately!
评论 #29330751 未加载
评论 #29330007 未加载
rapnieover 3 years ago
I found it hard to quickly determine whether Kratos can run completely self-hosted, or that there&#x27;s always some connection to Ory &#x2F; Ory Cloud services.
评论 #29330103 未加载
评论 #29330499 未加载
mooredsover 3 years ago
Pretty cool. Just a heads up, the links in the section: &quot;build your own login, registration, account settings, account verification (e.g. email, phone, activate account), account verification (e.g. reset password) user interfaces and user flows using dead-simple APIs&quot; all are broken, except the &#x27;login&#x27; link.<p>I&#x27;m interested in how you allow folks to customize the login flows (probably because my employer, FusionAuth, offers a competitive product :) ). Is this UX customization solely through custom react components?<p>Is there any ability to customize the actual login sequence, like Azure ADB2C allows? For example: for install A, I want to ask for login, then password, then MFA. for install B, I want to ask for email domain first, then login and password.
评论 #29330030 未加载
syysilmaover 3 years ago
Been working on a webapp on-and-off using Kratos for a bit and it is a massive relief to be able to delegate the hard parts of authentication to something else.<p>My only real pain points are the docs and the JS SDK - the docs can be rough depending on what you&#x27;re looking at, and the SDK has no documentation at all. I get that it&#x27;s automatically generated, but it&#x27;s enough of a pain to figure out that I resorted to just making the HTTP requests myself.
arbobmehmoodover 3 years ago
Looks neat. Will definitely check this out. May I know, how is this different from NextAuth?
评论 #29329948 未加载
d0100over 3 years ago
When using this, where can a get a deep dive into the architecture and details around the system?<p>I&#x27;m always hesitant to use third party Auth for fear that some bug in our app would generate otps and I won&#x27;t be able to fix that in an emergency because of a lack of familiarity&#x2F;access to source code&#x2F;database
chrisMyzelover 3 years ago
Ory developers emailed me and offered support after I had just expressed interest into the project with someone they know personally - that&#x27;s a great experience and I have loved watching and using the project since then!
oliveralbertiniover 3 years ago
What&#x27;s the diff with Gluu <a href="https:&#x2F;&#x2F;gluu.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gluu.org&#x2F;</a> ?
chwzrover 3 years ago
hi, the nextjs integration looks all promising. Especially how fast it is integrated. I wonder if there is a smart way to automatically verify a session and get user details on one of my own api routes?
评论 #29330215 未加载
kovekover 3 years ago
Does passport do something similar?
评论 #29329791 未加载