Hi! I’m working on an app idea that will use the Google Caldav API. I just roughly finished the RFC 7636 Oauth code to get myself an access token / refresh token. This is pretty commonly needed for lots of web projects, not limited to google integrations, so I thought I’d share my implementation here in case it’s useful!
Some things that happen in there;
- http GET and POST request
- preparing and sending over query parameters
- SHA256 hashing
- using new 0.16.x
std.Io - probably lots of bugs from a novice
Enjoy & feedback very appreciated.
libj/src/google_oauth.zig at main · jdevries3133/libj · GitHub.