Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Development Integration
  • Single Sign-On (SSO)
  • Login component

  • JavaScript/Node.js

  • Java / Kotlin

  • Python

    • User Authentication Module

    • Management Module

      • Manage resources and permissions
      • Management application
      • Management groups
      • Management organization
      • Management strategy
      • Management subject certification
      • Management role
      • Management log statistics
      • Management User Custom Fields
      • Management user pool configuration
      • Management user
      • Management registration white list
  • C#

  • PHP

  • Go

  • Ruby
  • Android

  • iOS

  • Flutter

  • React Native
  • WeChat Mini Program
  • WeChat webpage authorization
  • Framework Integration
  • Error code
  1. Development Integration
  2. /
  3. Python
  4. /
  5. Management Module
  6. /
  7. Management registration white list

¶ Management registration white list

Update Time: 2025-06-11 08:01:00
Edit

Configuring a registered list for your user pool, similar to inviting registration rules, after opening, only users in whitelist can register. Authing The currently supported white list has a mobile phone number, email, user name.

¶ Get white list record

Get white list record

def list(self, type)

¶ parameter

  • type <str> White list type, USERNAME is the username、EMAIL is the email、PHONE is the phone number

¶ Example

management.whiteList.list("USERNAME")

¶ Sample data

[
  {
    "value": "xx2",
    "createdAt": "2021-09-17T06:14:52+00:00",
    "updatedAt": "2021-09-17T06:14:52+00:00"
  },
  {
    "value": "xx2x",
    "createdAt": "2021-09-17T06:15:26+00:00",
    "updatedAt": "2021-09-17T06:15:26+00:00"
  }
]

¶ Add white list

Add white list

def add(self, type, list)

¶ parameter

  • type <str> White list type, USERNAME is the username、EMAIL is the email、PHONE is the phone number
  • list <list> White list list, please pay attention to the mailbox is not case sensitive

¶ Example

management.whiteList.add("USERNAME", ["xx2x"])

¶ Sample data

[
  {
    "value": "xx2",
    "createdAt": "2021-09-17T06:14:52+00:00",
    "updatedAt": "2021-09-17T06:14:52+00:00"
  },
  {
    "value": "xx2x",
    "createdAt": "2021-09-17T06:15:26+00:00",
    "updatedAt": "2021-09-17T06:15:26+00:00"
  }
]

¶ Remove whitelist

Remove whitelist

def remove(self, type, list)

¶ parameter

  • type <str> White list type, USERNAME is the username、EMAIL is the email、PHONE is the phone number
  • list <list> White list list, please pay attention to the mailbox is not case sensitive

¶ Example

management.whiteList.remove("USERNAME",["xx"])

¶ Sample data

[
  {
    "value": "xx2",
    "createdAt": "2021-09-17T06:14:52+00:00",
    "updatedAt": "2021-09-17T06:14:52+00:00"
  },
  {
    "value": "xx2x",
    "createdAt": "2021-09-17T06:15:26+00:00",
    "updatedAt": "2021-09-17T06:15:26+00:00"
  }
]

¶ Open white list

Open white list

def enable_white_list(self, type)

¶ parameter

  • type <str> White list type, USERNAME is the username、EMAIL is the email、PHONE is the phone number

¶ Example

management.whiteList.enable_white_list("USERNAME")

¶ Sample data

{
  "domain": "n1s8",
  "whitelist": {
    "phoneEnabled": true,
    "usernameEnabled": true,
    "emailEnabled": false
  },
  "verifyCodeLength": 4,
  "qrcodeLoginStrategy": {
    "qrcodeExpiresAfter": 120,
    "ticketExpiresAfter": 300,
    "returnFullUserInfo": false,
    "allowExchangeUserInfoFromBrowser": true
  },
  "updatedAt": "2021-09-08T05:42:22+00:00",
  "logo": "https://files.authing.co/authing-console/login_logo.svg",
  "frequentRegisterCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "id": "61384d3e302f1f769c5a",
  "isDeleted": false,
  "appSsoEnabled": false,
  "loginPasswordFailCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "changeEmailStrategy": {
    "verifyOldEmail": true
  },
  "useCustomUserStore": false,
  "userpoolTypes": null,
  "jwtSecret": "1fb9f7fea152ce5b1a9af0fe18c56",
  "app2WxappLoginStrategy": {
    "ticketExchangeUserInfoNeedSecret": false,
    "ticketExpriresAfter": null
  },
  "emailVerifiedDefault": false,
  "secret": "ff053c05e4fb66a560556ec2cb715",
  "packageType": -1,
  "createdAt": "2021-09-08T05:42:22+00:00",
  "customSMSProvider": {
    "config": null,
    "enabled": false,
    "provider": null
  },
  "allowedOrigins": "",
  "description": "",
  "changePhoneStrategy": {
    "verifyOldPhone": true
  },
  "sendWelcomeEmail": true,
  "loginFailCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "loginFailStrategy": "captcha",
  "name": "newSDK",
  "registerDisabled": false,
  "tokenExpiresAfter": 1296000,
  "loginRequireEmailVerified": false,
  "showWxQRCodeWhenRegisterDisabled": null
}

¶ Close white list

Close white list

def disable_white_list(self, type)

¶ parameter

  • type <str> White list type, USERNAME is the username、EMAIL is the email、PHONE is the phone number

¶ Example

management.whiteList.disable_white_list("USERNAME")

¶ Sample data

{
  "domain": "n1s8",
  "whitelist": {
    "phoneEnabled": true,
    "usernameEnabled": false,
    "emailEnabled": false
  },
  "verifyCodeLength": 4,
  "qrcodeLoginStrategy": {
    "qrcodeExpiresAfter": 120,
    "ticketExpiresAfter": 300,
    "returnFullUserInfo": false,
    "allowExchangeUserInfoFromBrowser": true
  },
  "updatedAt": "2021-09-08T05:42:22+00:00",
  "logo": "https://files.authing.co/authing-console/login_logo.svg",
  "frequentRegisterCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "id": "61384d3e302f1f769c5a",
  "isDeleted": false,
  "appSsoEnabled": false,
  "loginPasswordFailCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "changeEmailStrategy": {
    "verifyOldEmail": true
  },
  "useCustomUserStore": false,
  "userpoolTypes": null,
  "jwtSecret": "1fb9f7fea152ce5b1a9af0fe18c56",
  "app2WxappLoginStrategy": {
    "ticketExchangeUserInfoNeedSecret": false,
    "ticketExpriresAfter": null
  },
  "emailVerifiedDefault": false,
  "secret": "ff053c05e4fb66a560556ec2cb715",
  "packageType": -1,
  "createdAt": "2021-09-08T05:42:22+00:00",
  "customSMSProvider": {
    "config": null,
    "enabled": false,
    "provider": null
  },
  "allowedOrigins": "",
  "description": "",
  "changePhoneStrategy": {
    "verifyOldPhone": true
  },
  "sendWelcomeEmail": true,
  "loginFailCheck": {
    "timeInterval": 300,
    "enabled": false,
    "limit": 50
  },
  "loginFailStrategy": "captcha",
  "name": "newSDK",
  "registerDisabled": false,
  "tokenExpiresAfter": 1296000,
  "loginRequireEmailVerified": false,
  "showWxQRCodeWhenRegisterDisabled": null
}
Prev: Management user Next: C#
  • Get white list record
  • Add white list
  • Remove whitelist
  • Open white list
  • Close white list

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.