A tiny microservice that makes adding authentication with Netlify to your application easy.
MIT License
micro-netlify
A tiny microservice that makes adding authentication with Netlify to your application easy.
Running your own micro-netlify
is a single now
command away:
# Deploy this repository using now.sh
now SaraVieira/micro-netlify -e NETLIFY_CLIENT_ID=xyz123 -e REDIRECT_URL=https://google.com
You'll need to provide three environment variables when running micro-netlify
:
# Your GitHub application client id
NETLIFY_CLIENT_ID=xyz123
# The URL to redirect the user to once the authentication was successful
REDIRECT_URL=https://google.com
git clone [email protected]:SaraVieira/micro-netlify.git
Move .env.example
to .env
and fill in your Netlify API details and redirect url
npm run dev
Copyright (c) 2018 Sara Vieira, licensed under the MIT license. See LICENSE.md for more information.