Created
April 30, 2019 00:34
-
-
Save Fleker/3959d2e69f79d34c0f5fc050c1fd1c0e to your computer and use it in GitHub Desktop.
Setup Auth0 & AoG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const {AuthenticationClient} = require('auth0'); | |
| const auth0 = new AuthenticationClient({ | |
| 'clientId': 'clientIdentifier', | |
| 'domain': '<auth0-tenant-id>.auth0.com' | |
| }); | |
| const smarthome = require('actions-on-google'); | |
| const app = smarthome({ | |
| jwt: require('./service-account-key.json') | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment