Dalan — احراز هویت Fibitex (Barong)
Dalan فورک Barong 2.6 برای JWT، KYC، و مدیریت کاربر Fibitex.
| OpenDAX | Fibitex |
|---|---|
| Barong | Dalan |
/api/v2/barong |
/api/v2/dalan |
پیشنیازها
Ruby 2.6.6، MySQL، Vault (در stack Alvand-P)
راهاندازی سریع
cd ../Alvand-P && rake service:all
مستندات
| سند | موضوع |
|---|---|
Docs/03-dalan-microservice.md |
معماری Dalan |
Docs/Fibitex-staging-deploy.md |
Deploy |
Alvand-P/Docs/QA-troubleshooting.md |
عیبیابی |
Docs/README.md |
فهرست مرکزی |
Dalan
it is fork project of barong
Barong
Barong is a authentication service for microservice architectures using JWT standard. It's developped and maintained by Openware team.
Overview
It includes the following features:
- Registration of users
- Role based access control (RBAC)
- Embedded KyC process
- Integrated KycAID plugin
- Mailing system: event based, support multi-language, secured by cryptographic signatures
- Service accounts
- Focused on user privacy: sensitive informations are encrypted in database using vault, masks are applied on fields in user API endpoints
Development
Prerequisites:
- Ruby version:
2.6.6 - Bundler preinstalled
- MySQL preinstalled
- Install RubyGems dependencies
bundle install
- Copy initialisation files
bin/init_config
- Create database and run migrations
bundle exec rake db:create db:migrate
- Start local server
bundle exec rails server
Barong Levels
In the process of verification Barong assign different levels to accounts
- Level 0 is default account level
- Level 1 will apply after email verification
- Level 2 will apply after phone verification
- Level 3 will apply after identity & document verification
Useful links to documentation
Description
Languages
Ruby
93.8%
HTML
5.4%
Shell
0.4%
Dockerfile
0.2%
JavaScript
0.1%