Live data from Hacker News

Show HN: Keratin AuthN – Accounts and Auth Microservice in Go

keratin.tech

51–57 of 57 posts

Re: Show HN: Keratin AuthN – Accounts and Auth Microservice in Go

#51

How does AuthN compare to Keycloak? http://www.keycloak.org

Keycloak does some really great things. It does require managing a Java runtime though, and is missing the streamlining that allows AuthN to run as an invisible API. Keycloak (and similar) hosts and renders your login page. You customize through theming. You're expected to redirect users through a standard OAuth2/OIDC flow on a different domain. AuthN doesn't render any HTML. That's all you, from start to finish. Thi…

What, I can't simply post to any login/register/logout uri's and expect either a redirect with configuring headers back or an object that let's me manage the token manually?

EDIT: I've been trying out keycloak and it looks great but I've always assumed I just had not figured out how to make that happen. As the documentation is quite large and of the harder kind.

Re: Show HN: Keratin AuthN – Accounts and Auth Microservice in Go

#52

How does AuthN compare to Keycloak? http://www.keycloak.org

Keycloak does some really great things. It does require managing a Java runtime though, and is missing the streamlining that allows AuthN to run as an invisible API. Keycloak (and similar) hosts and renders your login page. You customize through theming. You're expected to redirect users through a standard OAuth2/OIDC flow on a different domain. AuthN doesn't render any HTML. That's all you, from start to finish. Thi…

You can design the login/register page in keycloak completely. From scratch. I have used it before and had done that.

Re: Show HN: Keratin AuthN – Accounts and Auth Microservice in Go

#54

Earlier quoted context omitted.

no problem, btw, the first time I did make test I got this, but after that I was not able to repro it again and make test always worked, pasting here in case you are interested Creating authnserver_server_1 ... done TEST_REDIS_URL=redis://127.0.0.1:8701/12 \ TEST_MYSQL_URL=mysql://root@127.0.0.1:8702/authnservertest \ go test ./data/... ./models/... ./tokens/... ./ops/... ./config/... ./lib/... ./api/... ./services/.…

Thanks for the report! I believe I've tracked this down to an initialization routine that MySQL goes through on the first boot. It happens after docker-compose unblocks. Likely a wontfix. :/

cool you found the root cause, I take this is not the code path that runs in CI? otherwise I'd think you'd hit it all the time unless somehow the MySQL container sticks around...

Re: Show HN: Keratin AuthN – Accounts and Auth Microservice in Go

#56

Earlier quoted context omitted.

Thanks for the report! I believe I've tracked this down to an initialization routine that MySQL goes through on the first boot. It happens after docker-compose unblocks. Likely a wontfix. :/

cool you found the root cause, I take this is not the code path that runs in CI? otherwise I'd think you'd hit it all the time unless somehow the MySQL container sticks around...

Yeah. I think Travis provides a warmed server.
Post reply on HN