English | 简体中文
This demo will show you how to use Authing to develop a SaaS software called Uthing. Let us take the example software Uthing as an example, Uthing is an advanced enterprise collaboration tool that provides efficient workflow management functions, and it is also a SaaS software on which different companies can manage their own workflows.
Modify the /server/config.js
file and modify the following configuration:
module.exports = {
authing: {
userPoolId: '<your user pool id>',
userPoolSecret: '<your user pool secret>',
appId: '<your app id>',
appSecret: '<your app secret>',
host: '<your app host>', // Authing api url, usually https://core.authing.cn
},
}
Modify the client/src/config.ts
file and modify the following configuration:
export const config = {
apiBaseUrl: 'http://localhost:3006',
pageBaseHost: 'localhost:3007',
authing: {
appId: '<your app id>',
appHost: '<your app host>',
},
}
Open a terminal and execute
cd server
yarn install
yarn start
Open another terminal and execute
cd client
yarn install
yarn start
Visit http://localhost:3007/login
Copyright (c) 2019-present, Authing