1.0.0 • Published 6 years ago
jovo-component-email-ts v1.0.0
Configuration
This component allows you to fetch the users email address, either with Account Linking (Alexa|Google Assistant) or Contact Permissions (Alexa).
Since Alexa allows you both options, you need to choose one in config.js
:
// config.js
alexa: 'contact-permissions' // account-linking|contact-permissions(default)
If you decide to choose Account Linking for Alexa or want to get the users email for Google Assistant, you need to create an Auth0 profile,
which provides you with a User-Profile-Link that you have to set in config.js
:
// config.js
auth0: '' // e.g. https://your-username.auth0.com/userinfo
To activate Contact Permissions for your skill, either set the permissions in your project.js
or directly in the Alexa Skill console.
// config.js
manifest: {
permissions: [
{
name: "alexa::profile:email:read"
}
]
}
You can find tutorials for Account Linking on our website for Alexa and Google Assistant.
1.0.0
6 years ago