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

Does anyone know of a way to do something like this but with OAuth? E.g. log in with GitHub to view these docs.


I'd say it's not possible in pure HTML + JS (as in, encryption/ access control performed entirely there).

The solution (with a server) is: https://oauth2-proxy.github.io/oauth2-proxy/




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

Search: