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

When using two configs, looks like you have to define the “default” in addition to the other configID. At first i defined the configs with specific ID´s, now i use one specific and the default. This seems to work.