Application scenario
TIP
Pipeline allows developers to execute custom code during the authentication process to implement Webhook notifications, extended user fields, access control and other capabilities. If you have good ideas and application scenarios, you are welcome to supplement the template for us.
Webhook notification
Extend user fields
- Add user custom fields
- Change default avatar
- Write the latest location to the user's MetaData every time they log in
- Dynamically generate avatars using the ui-avatars API
- Supplement the user's geographic location information field
- Get the user's repo list through the GitHub API
Access Control
- Register email suffix whitelist
- Dynamically load whitelist through API
- Force email verification before login
- Force phone number verification before login
- Register IP range whitelist
- According to IP Risk score blocks users
- Register mobile phone number whitelist
- Prohibit specific registration/login
- Prohibit registration/login from 3-6 am every Sunday morning due to system maintenance