sparkle-auth
v2.2.18
Published
Authentication for every project create by Octofox team
Downloads
22
Readme
Sparkle Auth
Authentication for every project create by Octofox team
Setup
Email Connector
Sparkle oauth require email connector implementation (default will use console.log email)
const sparkleAuthentication = await createGraphQL(
integrationConfig.config,
async (container) => {
// Rebind MailConnector
container.unbind(MailConnector)
container
.bind(MailConnector)
.to(YourEmailConnector) // mail which inherit from MailConnector
.inSingletonScope()
},
)
Release
yarn prepublish
yarn publish
git push origin
Run test
yarn prisma:deploy-test-local
docker-compose -f ./src/prisma.test/docker-compose.yml up -d
yarn test </path/fileName.ts>