Google Cloud Authorization Token

Hi!

We have implemented cloud functions in Firebase which are used to ingest data from Notehub.

We’d like to use the Google Cloud route type to forward the event. Is it possible to provide the route with a refresh token so that the access tokens are changed up at a regular interval?

If that’s not possible, is there some other approach we could use to refresh the token?

Hi @devElert,

I took a little time to reacquaint myself with the auth mechanisms in Google Cloud and it looks like you’re definitely on the right path (but you didn’t need me to tell you that!).

We don’t yet support refresh tokens in the Notehub UI (I’m going to add it to the Notehub team’s backlog as a feature request). However, one option would be to use the Notehub API to update the token for your route(s) programmatically using the Update Route by UID API. See the Create Route docs for a full list of arguments.

Hope that helps!

Rob

Thank you Rob, that makes sense!