The easiest way to add user login to websites with GitHub, Twitter, Facebook, Google, Weibo, QQ.
Deploy your own Waline project with Vercel.
GITHUB_ID
and GITHUB_SECRET
enviroment variables are required.
- Redirect URL:
<a href="<serverUrl>/github?redirect=&state=">Login with GitHub</a>
- Get user info:
GET <serverUrl>/github?code=
TWITTER_ID
, TWITTER_SECRET
, LEAN_ID
and LEAN_KEY
environment variables are required. LEAN_ID
and LEAN_KEY
can got from https://leancloud.app.
- Redirect URL:
<a href="<serverUrl>/twitter?redirect=&state=">Login with Twitter</a>
- Get user info:
GET <serverUrl>/twitter?oauth_token=&oauth_verifier
FACEBOOK_ID
and FACEBOOK_SECRET
enviroment variables are required.
- Redirect URL:
<a href="<serverUrl>/facebook?redirect=&state=">Login with Facebook</a>
- Get user info:
GET <serverUrl>/facebook?code=
GOOGLE_ID
and GOOGLE_SECRET
enviroment variables are required.
- Redirect URL:
<a href="<serverUrl>/google?redirect=&state=">Login with Google</a>
- Get user info:
GET <serverUrl>/google?code=
WEIBO_ID
and WEIBO_SECRET
enviroment variables are required.
- Redirect URL:
<a href="<serverUrl>/weibo?redirect=&state=">Login with Weibo</a>
- Get user info:
GET <serverUrl>/weibo?code=
QQ_ID
and QQ_SECRET
environment variables are required.
- Redirect URL:
<a href="<serverUrl>/qq?redirect=&state=">Login with QQ</a>
- Get user info:
GET <serverUrl>/qq?code=