api-server-nodejs
api-server-nodejs copied to clipboard
Evolution 2# - OAuth for GitHub
Hello @FullStackkDev!
The API should be enhanced to support OAuth via Github.
Requirements:
- the backward compatibility assured:
- JWT Login
- existing API signature
- The library used in NodeJS should be actively supported and
alive- Please propose a few options here
Ty!
Here is a short list with OAuth libs for Node:
https://oauth.net/code/nodejs/
- openid-client. OpenID Certified™ Client implementation for Node.js
- oauth4webapi. OpenID Certified™ OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
- Grant 200+ OAuth providers for Express, Koa, Hapi, Fastify, AWS Lambda, Azure, Google Cloud, Vercel
- PassportJS
- OAuth2-client-js
Hello @FullStackkDev
Please provide more information about the implementation (super slim) and also a short step-by-step documentation
how a new user can use this feature.
The information should provide:
envvariables (if needed)- the OAuth callback URL
- the steps that the user should follow to configure GitHub
The above documentation should provide only the super minimal information.
Ty!
@app-generator Here is the documentation file for GitHub OAuth https://github.com/app-generator/api-server-nodejs/blob/step4/support-for-react/GITHUB_AUTH.md