Ask HN: What do you use for authentication and authorization?
457 pointsI am currently starting work on a new app/website. Currently planning to have 1 BE API set to start, probably graphql (which will be user data/information and need to check with the auth server about being protected). I will also have many client apps (web, mobile, potential partners) that will need to make queries to that BE. Do you usually roll your own authentication or use something like auth0/fusionauth/gluu/etc? This product is going to need to be secure as it will be in the healthcare space (so think oidc).
Comments (236) 55 threads
Show all comments
Showing thread 31 of 55
They have all the upsides of cookies, but also can be narrowed down to be handed to third parties (good for APIs), caveats, and have a standardized and implemented [2] verification scheme.
I wonder why they don't see wider use. Do they have significant downsides?
[1]: http://hackingdistributed.com/2014/05/16/macaroons-are-bette...
[2]: https://github.com/rescrv/libmacaroons
If you've got questions about them I'm happy to answer.