Appointment consultation
authing database intro
User-defined database connection can decouple Authing from the database. In a traditional software system, the application system and data source should be kept in the same network environment. If an external data source needs to be connected, a lot of docking development work needs to be done. The user-defined database connection of Authing can be highly configurable according to the needs of users. It not only supports standard database solutions such as MySQL, MongoDB, and PostgreSQL but also supports data source docking in API mode. The user-defined script can be run in a virtual sandbox environment, which greatly improves the security of data.
Usage scenarios
Use a custom database connection when you want to provide access to your independent identity database for the following purposes
Full control of user data
You don't want third-party providers to keep your user data.
Authentication
Use your database as an identity provider for Authing to authenticate users.
Migrating users
Inert migration of user data to Authing without user perception.
Product advantages
Using a custom database connection can save time and improve work efficiency.
It can be adapted to a variety of scenes with high flexibility.
Fully grasp the user data, there is no risk of user data leakage.
At present, only Authing supports custom database connections in domestic identity cloud manufacturers, so there is no need to customize it, which can reduce the access cost of old application systems.
authing advantage
The typical database connection scheme
01
Using the database provided by Authing
Authing provides a database infrastructure to store your users by default. Since all data is stored in Authing, this scheme provides the best performance for the authentication process.
The database hosted by Authing is highly secure. Passwords are not stored or logged in as plain text, but are hashed using bcrypt. In addition, various levels of password security requirements can be implemented.
02
Use custom database connection
If you have an existing user store or want to store user credentials on your own server, Authing can connect to your configured custom database connection and use it as an identity source.
In this case, you provide a login script to authenticate the user that was executed when you tried to log in. Essentially, you can use custom scripts to connect to any kind of database or web service.
03
Migration from the custom database to Authing
If your user data is stored in the database of the original system, you want to migrate users to Authing. At this time, Authing provides an automatic migration function, which can automatically add your users to the Authing database every time you log in, and avoid requiring your users to reset their passwords.
Comparison of customized database connection capability between manufacturers
At present, there are only two manufacturers in the world that support user-defined database connection functions, namely foreign auth0 and domestic Authing.
ManufacturerWether Support
Authing
Support
Auth0
Support
Okta
No support
Alibaba cloud IDaaS
No support, customized development is required
Yufu
No support
Zhuyun
No support
authing advance
Connecting people and applications around the world