Comments (4)
This involves a few major changes:
- change from GraphQL implementation into RESTful.
- change from oauth2-server to oauth2orize
- make consistent naming convention, changing from root_admin to Org_Admin_ID
Why changing to oauth2orize
By oauth2-server alone, oauth2-server is more capable than oauth2orize. oauth2orize is not handling the detection, and auto-removal of expired token. And, it requires more expressive code, to complete the same task.
However, oauth2-sever is not actively maintained project. oauth2orize is the same author as passport.js. The change will introduce Passport.js, to handle different strategies. This is the biggest reason of the change.
Lastly, we need to introduce Redis to store access token.
- Redis can set auto expire on access token.
- token-based authentication, requires chatty communication between gw-org* and auth-server. The in-memory implementation is fit.
- Shortly, may use Redis to re-engineer query database. One tool for multiple purposes.
from fabric-es.
new "auth", "proxy", & "ui-account" package is done to revamp the auth server.
Next, it needs to refactor other packages to make use of "auth" package.
from fabric-es.
In order to fulfil the integration requirement with 3rd party, with ease. It needs an M2M api-key. I shall require additional task to create a persisted api_key in package "auth". And, in package "ui-account" shall also require additional page for creating and revoke api_key.
from fabric-es.
This task cannot be completed in sprint-3; will be moved to sprint 4.
And, I found that it needs an additional task #36
from fabric-es.
Related Issues (20)
- upgrade to Redisearch v2, and deprecate Find function
- upgrade eslint to work with ts 4.1.x
- Did data registry
- update README
- Logger timestamp support timezone setting HOT 3
- add alternative implementation of auth0 HOT 1
- add ReadTheDocs
- chore: Add changelog to Release notes HOT 1
- fix: Private data created before it's public counterpart HOT 1
- RedisSearch full text "DESC" order fails to perform
- feat : add https support in createGateway HOT 1
- feat : disable userService in createAdminService HOT 3
- getById should use commandGetById HOT 1
- Add an enrollOnly function in operator HOT 2
- unexpected error found HOT 1
- when submitting tx, DefaultEventHandlerOptions timeout HOT 1
- debug followup Issue226
- hardcode path
- Redis connection exceed retry limit and caused microservice malfunction HOT 1
- function name typo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-es.