Google Smart Home App that connect Google Assistant and Mozilla Things Gateway.
The Things Gateway must create authorization credentials that allow the MozAssist to access your Things Gateway APIs.
Things Gateway =< 0.4 have no UI to create authorization credentials, and thus add some codes. Add following codes to the end of src/models/oauthclients.ts.
oauthClients.register(
new ClientRegistry(new URL('https://mozassist.sogaani.com/allow'),
'hoge', // Client ID
'Hello',
'hoge', // Client Secret
'/things:readwrite')
);
The Client ID and The Client Secret must change to string that others do not know.