News for hackers. Stuff that matters.
Re:Ask HN: What products or services do you wish existed for... by du_bing on Sunday October 27, 2019 @08:50PM (#21373484)
A user gateway. I need a product that can help me process user registration, login, session and other user identity logic. Than I can add my own user experiences using programming languages. The present user processing tools are too complicated and makes non sense.
Re:Ask HN: What products or services do you wish existed for... by masonhensley on Sunday October 27, 2019 @10:43PM (#21373840)
Like this? (Open source) https://www.keycloak.org/
Re:Ask HN: What products or services do you wish existed for... by du_bing on Monday October 28, 2019 @12:06AM (#21374162)
seems great, but how to use it in other programming language? How to add my backend logic?
Re:Ask HN: What products or services do you wish existed for... by pharaohgeek on Monday October 28, 2019 @09:26AM (#21376736)
Keycloak is an identity/authentication provider. Your app would leverage it using OpenID Connect (OAuth 2). Keycloak would handle the heavy lifting related to identity management, registration, password changes, authentication, etc. Your app would handle everything else.
Re:Ask HN: What products or services do you wish existed for... by peterbozso on Sunday October 27, 2019 @10:47PM (#21373851)
Re:Ask HN: What products or services do you wish existed for... by du_bing on Monday October 28, 2019 @12:11AM (#21374190)
thanks, I will check.
Re:Ask HN: What products or services do you wish existed for... by tylerrobinson on Sunday October 27, 2019 @11:19PM (#21373967)
Auth0 might be a good fit for you. Not affiliated, just a fan.
Re:Ask HN: What products or services do you wish existed for... by du_bing on Monday October 28, 2019 @12:07AM (#21374164)
thanks, checked it before, still complicated somehow
Re:Ask HN: What products or services do you wish existed for... by phonon on Monday October 28, 2019 @01:30AM (#21374520)
Re:Ask HN: What products or services do you wish existed for... by ian0 on Monday October 28, 2019 @10:11AM (#21377148)
I use Auth0, its been amazing though sometimes the docs are a little difficult.
Re:Ask HN: What products or services do you wish existed for... by e9 on Sunday October 27, 2019 @10:06PM (#21373724)
Check out AWS Cognito
Re:Ask HN: What products or services do you wish existed for... by du_bing on Monday October 28, 2019 @12:12AM (#21374194)
yeah, I checked it. Thanks!
Re:Ask HN: What products or services do you wish existed for... by mister_hn on Monday October 28, 2019 @03:54AM (#21375043)
why not using WebAuthn? https://webauthn.io/
Re:Ask HN: What products or services do you wish existed for... by throwaway_n on Monday October 28, 2019 @03:44AM (#21375003)
On GCP, maybe firebase auth: https://firebase.google.com/docs/auth
Re:Ask HN: What products or services do you wish existed for... by latchkey on Monday October 28, 2019 @03:46AM (#21375008)
Definitely this.

Edit: let me expand on why. You get to take advantage of the power of all of google's security team, with a nice clean simple api, great client libraries and excellent documentation.

There is also some cool features like the ability to tie custom data to a user (claims) and integrate with the realtime datastore for immediate notifications about changes to the user.

There is some great examples on how to implement this in the docs. I implemented this in my own app so that when I enable a 'role' for a user, the app literally updates (in both a Flutter mobile and React webapp) without even a refresh of the window. Pretty epic UX and super painless to implement.

Oh and it is effectively free.

Re:Ask HN: What products or services do you wish existed for... by sergiotapia on Monday October 28, 2019 @02:44PM (#21380151)
Non-starter. You're giving all your user information to Google. If you're OK with that, go for it. A lot of people are not.
Re:Ask HN: What products or services do you wish existed for... by latchkey on Monday October 28, 2019 @11:35PM (#21384075)
I hear you. It really depends on your requirements. That said, any site that is currently enabling 'google login' or 'xyz login' other than just a standard email login is already doing this. Never mind the fact that significant numbers of users are already on gmail or google apps.

The trade-off being that you can run the risk of a security hole in your authentication flow.

I still miss Mozilla Persona.

I also looked up the terms... this is the only thing I noticed that was relevant... 'except as necessary' is pretty vague, but I'd take that to mean that they should probably inform you first.

https://cloud.google.com/terms/

5.2 Use of Customer Data. Google will not access or use Customer Data, except as necessary to provide the Services and TSS to Customer.