yarn- Copy the file
.sample-envto.env - Create a new application on on https://dev.usekeyp.com.
- Set the redirect URI to
http://localhost:3000/api/auth/callback/keyp(note that your port may be different). Ready for production? Make sure to upate this to eg.https://my-site.com/api/auth/callback/keyp. - Copy the "CLIENT ID" for your application and set it to
KEYP_CLIENT_IDin.env
- In the
.env, setTOKEN_SECRETto a random string, which is used fornext-authsession cookies. You can generate this usingopenssl rand -base64 32. (NOTE: Do not use your access token here)
yarn dev