Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OAuth2 Server + MoleculerJS

This project is an example of how to implement OAuth2 Server with MoleculerJS, I pretend to convert this into a module of MoleculerJS in the future.

The main project’s file is the oauth_server.mixin.js, I have the methods of OAuth Server into it and I've implemented the authenticate which will be inserted into the API Gateway and will be basically the authentication method, after that I can protect, or not, an API endpoint using the option authorization.

Getting started

npm run clear
npm run seeders

Import the collection for your Postman and enjoy

References:

https://github.com/dsquier/oauth2-server-php-mysql
https://github.com/manjeshpv/node-oauth2-server-implementation
https://moleculer.services/docs/0.13/moleculer-web.html#Authentication

About

OAuth2 Server + MoleculerJS

Resources

License

Releases

No releases published

Packages

No packages published