AmirTahani / barong

Barong auth server

Home Page:https://www.openware.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barong

Build Status Maintainability

Overview

Barong is oAuth server for Openware.com stack.

Development

Prerequisites:

  • Ruby version: 2.5.3
  • Bundler preinstalled
  • MySQL preinstalled
  1. Install RubyGems dependencies
bundle install
  1. Copy initialisation files
bin/init_config
  1. Create database and run migrations
bundle exec rake db:create db:migrate
  1. Install JS dependencies
yarn install
  1. 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

Barong environments overview

Barong configurations overview

Troubleshooting

REST API documentation

API Keys creation and usage

Captcha policy overview and configuration

Setting up 2FA

Barong password hashing

License

Barong is released under the terms of the Apache License 2.0.

About

Barong auth server

https://www.openware.com


Languages

Language:Ruby 94.7%Language:HTML 4.5%Language:Dockerfile 0.3%Language:Shell 0.2%Language:JavaScript 0.2%Language:CSS 0.1%