S3 Swift OpenStack multidomain configuration doesnt work

The backend we need to connect using S3 swift OpenStack with multi domain configuration.
We followed this “:manual.seafile.com/deploy_pro/setup_with_swift/” but get authentication error.
The reason might be the lack of domain in config.
Any workarounds?

name = swift
tenant = xxx
domain = ‘missing param’
user_name = xxx
password = xxxxx
container = xxxx
auth_host = xxxxxxx:5000
auth_ver = v3.0
region = xxxxx