Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The ability to validate the key before doing anything with it [..]

Q: What about the endpoint that's issuing the tokens?



In OpenID Connect the endpoint is issuing the tokens is run by Google, Microsoft or some other company that is too big to fail (or rather if it fails everything goes down).

If you are issuing the tokens yourself, you can build a simple horizontally scaling identity service that only does authentication and token issuance. With refresh tokens, if that service goes down it only prevents users not already signed in from signing in. Generally users stay signed into to webapps for weeks at a time, so you have massively reduced the impact: rather than 100% of your users not being able to do anything on your site, now 0.5% of users are impacted.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: