What Are the Username, Domain Name, and Project Name in the Token Message Body?
username indicates the name of the user, and domainname indicates the name of the account to which the user belongs. If the token is obtained by an account, user name and domain name are the same. If the token is obtained by an IAM user (multiple IAM users can be created under an account), user name is a real-world username and is different from domain name.
The project name can be set to cn-north-4. For details about how to obtain a project name, see Obtaining the Username, User ID, Project Name, and Project ID.
Token-based Authentication FAQs
- What Are the Username, Domain Name, and Project Name in the Token Message Body?
- Why Is the Error Message "The account is locked." Displayed?
- Why Is the Error Message "The username or password is wrong." Displayed?
- Why Is Status Code 401 Returned After a Token Is Obtained?
- Why Does the Token Fail to Be Obtained When I Use Postman to Call an ORC API?
- Why Don't I Have Programming Access Permissions?
- Why Does the Header Overflow When I Use Postman to Call an OCR API?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore