Using grant now.
yarn add -D grant-now
require('dotenv/config')
require('grant-now')({
open: false,
[provider]: {
key: '...',
secret: '...',
}
})
protocol = 'http'
Prepared for just in case.port = 7000
Used as base port.open = true
Open connect urls.[provider]
grant's provider withoutcallback
property.
Promise<{
[provider]: {
server,
connect_url
}
}>