Centralized IAM module for moleculer. Including a certified OIDC provider and an Identity provider for user profile, credentials, and custom claims management feature. Custom claims could be defined/updated by declarative schema which contains claims validation and migration strategy. Also including default interaction React.js application for login/logout/registration and other OP interactions, and the account management React.js application.
Identity Provider
based on RDBMS
declarative claims schema definition for validation
dynamic update for claims schema and scope
versioned claims with robust claims schema migration support
each identities are cached as JSON value for performance
support complex query for fetching identity
basic OpenID claims battery included
ready for distributed system
OpenID Connect Provider
based on panva/node-oidc-provider
OpenID certified library
ready for basic interactions for below react app
federation presets for google and facebook, kakaotalk based on passport, also extendable
support i18n; for now ko-KR, en-US
Moleculer integrated actions and events
manage IDP claims schema and identity
manage OP client and other models
React App for OP interaction rendering
based on react-native-ui-kitten
and react-navigation
session based
support i18n; for now ko-KR, en-US
support login/logout/register/findEmail/resetPassword/verifyEmail/verifyPhone/consent
support theming and various customization option without rebuild from server configuration
this whole app can be replaced to custom one from server configuration
...
yarn build-all
yarn workspace moleculer-iam dev [example=simple]
- Start development with ./examples (nodemon with ts-node)
yarn workspace moleculer-iam lint
- Run TSLint
yarn workspace moleculer-iam build
- Transpile ts to js
yarn workspace moleculer-iam deps
- Update dependencies
yarn workspace moleculer-iam test
- Run tests & generate coverage report
yarn workspace moleculer-iam test --watch
- Watch and run tests
yarn workspace moleculer-iam-app dev
- Start Server Application development (webpack)
yarn workspace moleculer-iam-app build
- Transpile client-side ts/tsx to js
yarn workspace moleculer-iam-app build-server
- Transpile server-side ts to js
yarn workspace moleculer-iam-app test
- Run tests
Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.
The project is available under the MIT license.
Copyright (c) 2019 QMIT Inc.