Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walinejs/auth
Social account auth service, support github, twitter, facebook, google
https://github.com/walinejs/auth
facebook google oauth2 serverless twitter vercel
Last synced: about 15 hours ago
JSON representation
Social account auth service, support github, twitter, facebook, google
- Host: GitHub
- URL: https://github.com/walinejs/auth
- Owner: walinejs
- Created: 2021-01-16T13:31:33.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T22:31:37.000Z (4 days ago)
- Last Synced: 2024-11-10T23:25:41.328Z (4 days ago)
- Topics: facebook, google, oauth2, serverless, twitter, vercel
- Language: JavaScript
- Homepage: auth-center.vercel.app
- Size: 32.2 KB
- Stars: 13
- Watchers: 6
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OAuth Center
The easiest way to add user login to websites with [GitHub][GitHub], [Twitter][Twitter], [Facebook][Facebook], [Google][Google], [Weibo][Weibo], [QQ][QQ].
## Deploy Your OwnDeploy your own Waline project with Vercel.
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/walinejs/auth)
## How To Use
### GitHub`GITHUB_ID` and `GITHUB_SECRET` enviroment variables are required.
- Redirect URL: `Login with GitHub`
- Get user info: `GET /github?code=``TWITTER_ID`, `TWITTER_SECRET`, `LEAN_ID` and `LEAN_KEY` environment variables are required. `LEAN_ID` and `LEAN_KEY` can got from .
- Redirect URL: `Login with Twitter`
- Get user info: `GET /twitter?oauth_token=&oauth_verifier``FACEBOOK_ID` and `FACEBOOK_SECRET` enviroment variables are required.
- Redirect URL: `Login with Facebook`
- Get user info: `GET /facebook?code=``GOOGLE_ID` and `GOOGLE_SECRET` enviroment variables are required.
- Redirect URL: `Login with Google`
- Get user info: `GET /google?code=``WEIBO_ID` and `WEIBO_SECRET` enviroment variables are required.
- Redirect URL: `Login with Weibo`
- Get user info: `GET /weibo?code=``QQ_ID` and `QQ_SECRET` environment variables are required.
- Redirect URL: `Login with QQ`
- Get user info: `GET /qq?code=`[GitHub]: https://github.com
[Twitter]: https://twitter.com
[Facebook]: https://facebook.com
[Google]: https://google.com
[Weibo]: https://weibo.com
[QQ]: https://qq.com