alvarowolfx / gcloud-lora-ttn

Integration between Google Cloud and The Things Network
25 stars 6 forks source link

Expiring oath tokens? #4

Open pomplesiegel opened 4 years ago

pomplesiegel commented 4 years ago

Hello @alvarowolfx, very cool library! Question for you: How do you deal with expiring Google Function oath tokens, given TTN needs an explicit access key in order to forward the HTTP requests?

Or are you not using an access key?

alvarowolfx commented 4 years ago

Hey @pomplesiegel, thanks for the feedback.

About this project, it users the TTN Webhook interface, so TTN posts data to this backend, and data is saved on Google, so there is no OAuth tokens involved.

pomplesiegel commented 4 years ago

Hey @alvarowolfx, thanks for the response! Just so i understand, are you using the TTN HTTP integration to send data to the google function?

Does the google function's URL require authentication in order to post data?