4 ms·
Yes, but that doesn't deal with authentication. My problem was getting the JWT stuff working. The solution ended up being: https://gist.github.com/arohner/8d94e
by arohner 10y ago
Yes, but that doesn't deal with authentication. My problem was getting the JWT stuff working. The solution ended up being: https://gist.github.com/arohner/8d94ee5704b1c0c1b206186525d9f7a7 https://gist.github.com/arohner/8d94ee5704b1c0c1b206186525d9...
- euyyn 10y agoAh, yeah, coding the OAuth2 flow in a new language (vs using an existing library) is tricky, at the very least because OAuth2 itself is complex. The best docs I know for that are here https://developers.google.com/identity/protocols/OAuth2ServiceAccount https://developers.google.com/identity/protocols/OAuth2Servi... (we should link to it from the docs of the Cloud APIs). From a glimpse, what's said there matches what your code is doing, so thanks a lot for sharing it!