Homey Community Forum

Homey OAuth client library how to use more than one configid

Busy with an app that gets the Nest devices working again, basically it is working with Google Device Access and GCP PubSub events. But would like to make it a litte nicer. For that I need to have an additional OAuth client to do communication with GCP.
The library has the concept of specifying a configId and creating the config with setOAuth2Config works okay.
It is getting messy when you want to init the driver (OAuthDriver) with a specific configId. Has anyone done this before?

1 Like