athombv / node-homey-oauth2app

This module does the heavy lifting for a Homey App that talks to any OAuth2 Web API.
https://athombv.github.io/node-homey-oauth2app/
5 stars 5 forks source link

Feature/fix delete sessions #33

Closed WeeJeWel closed 3 years ago

WeeJeWel commented 3 years ago

This PR fixes a bug where OAuth2Sessions would be deleted when the Driver instance wasn't returned when calling Homey.drivers.getDrivers().

It also adds support to specify all OAuth2 properties (api url etc.) on Homey.App and OAuth2Client as statics.