superfaceai / station

Comlink metadata for self-integrating applications.
https://superface.ai/catalog
MIT License
22 stars 5 forks source link

feat: oauth/refresh-token #196

Closed jnv closed 2 years ago

jnv commented 2 years ago

Description

This implements OAuth 2.0 token refresh for Google APIs.

While we plan to have support for this in SDK, we already need to use this in PoCs now. Plus it's easier to use and better decoupled than handling this through Passport.js strategy.

The worst thing here is redacting the test recordings because:

Thanks to @martinalbert for help!

Types of changes

Checklist: