1.6.22 • Published 3 years ago

@abtnode/auth-service v1.6.22

Weekly downloads
196
License
Apache-2.0
Repository
github
Last release
3 years ago

ABT Node Auth Service

Shared Service that can be reused across all blocklets running inside ABT Node, the service provides easy to use DID-Authentication and Role Based Access Control.

1. Start a Production Node

2. Configuration

PORT=3040
SKIP_PREFLIGHT_CHECK=true

# server only
ABT_NODE_SESSION_TTL="1d"
ABT_NODE_MODE="production"
ABT_NODE_SERVICE_PORT="3041"

# this should point to the data directory of node
ABT_NODE_DATA_DIR="/Users/wangshijun/Develop/arcblock/abt-node/.abtnode"

# both server and client
ABT_NODE_ROUTER_PROVIDER="nginx"
ABT_NODE_ADMIN_PATH="/admin"
ABT_NODE_NAME="ABT Node (Dev.Shijun)"
ABT_NODE_DESCRIPTION="Web Interface to manage your ABT Node"
ABT_NODE_DID="zNKaT2cjMMW4Js3hnBWUKPcdboQqrPUTWRat"
ABT_NODE_SERVICE_URL="http://192.168.199.142:3041"

# This should be updated to use a running blocklet in your node
TEST_BLOCKLET_DID="z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV"
TEST_BLOCKLET_URL="http://127.0.0.1:8090"

3. Start the service

You need 2 terminal windows to start the client and server separately:

cd services/login
DEBUG=@abtnode/*,@arcblock/* npm run start:daemon
DEBUG=@abtnode/* npm run start:client

Now, you are ready to hacking the login service.

TO Developers

  • dependencies for backend should go in dependencies
  • dependencies for frontend should go in devDependencies
1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.6.20

3 years ago

1.6.22

3 years ago

1.6.21

3 years ago

1.6.9

3 years ago

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

3 years ago

1.6.11

3 years ago

1.6.10

3 years ago

1.6.13

3 years ago

1.6.12

3 years ago

1.6.15

3 years ago

1.6.14

3 years ago

1.6.17

3 years ago

1.6.16

3 years ago

1.6.19

3 years ago

1.6.18

3 years ago

1.5.21

3 years ago

1.5.20

3 years ago

1.15.17

3 years ago

1.5.12

3 years ago

1.5.11

3 years ago

1.5.14

3 years ago

1.5.13

3 years ago

1.5.16

3 years ago

1.5.15

3 years ago

1.5.18

3 years ago

1.5.17

3 years ago

1.5.19

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.10

3 years ago

1.5.7

3 years ago

1.5.6

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.14

3 years ago

1.4.13

3 years ago

1.4.12

3 years ago

1.4.11

3 years ago

1.4.10

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.18

3 years ago

1.3.19

3 years ago

1.3.17

3 years ago

1.3.16

3 years ago

1.3.15

3 years ago

1.3.14

4 years ago

1.3.13

4 years ago

1.3.12

4 years ago

1.3.11

4 years ago

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.13

4 years ago

1.2.14

4 years ago

1.2.12

4 years ago

1.2.10

4 years ago

1.2.11

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.12

4 years ago