- Service Overview
- Billing
- Getting Started
-
User Guide
- Before You Start
- Buying an Instance
- Instance Management
-
Enterprise Administrator Guide
- Logging In to the OneAccess Administrator Portal
- User Management
-
Resources
- Overview
-
Applications
- Adding an Application
- Enabling, Disabling, or Deleting an Application
- General Information
- Authentication Integration
- Synchronization Integration
- Login Configuration
- Access Control
- Object Models
- Authorization Management
- API Permission Management
- Application Permission Management
- Security Settings
- Audit Logs
- APIs
- Authentication
- Security
- Audit
- Settings
- Common User Guide
- Key Operations Recorded by CTS
-
Best Practices
- OneAccess Best Practices
- Identity Source Integration
-
Application Integration
-
Logging In to the Huawei Cloud Through User Portal
- Introduction
- Logging In to Single Huawei Cloud Account via OneAccess Without Password (SAML - Virtual User SSO)
- Logging In to Multiple Huawei Cloud Accounts via OneAccess Without Password (SAML - Virtual User SSO)
- Logging In to Single Huawei Cloud Account via OneAccess Without Password (SAML - IAM User SSO)
- Logging In to Multiple Huawei Cloud Accounts via OneAccess Without Password (SAML - IAM User SSO)
- Logging In to Huawei Cloud via OneAccess Without Password (OIDC)
- SSO Access to Applications Through SAML
- SSO Access to Applications Through OAuth 2.0
- SSO Access to Applications Through OIDC
- SSO Access to Applications Through CAS
- SSO Access to Applications Through Plug-in Autocompletion
-
Logging In to the Huawei Cloud Through User Portal
- Data Synchronization
- Authentication Provider Integration
- Authorizing IAM Users to Access a OneAccess Instance Administrator Portal
- API Usage
- Configuring MFA for User Login
- Developer Guide
-
API Reference
- Before You Start
- API Overview
-
OneAccess APIs
-
Management APIs
- Calling APIs
- Access Credentials
-
User Management
- Creating a User
- Modifying a User
- Deleting a User
- Enabling a User
- Disabling a User
- Changing a User Password
- Verifying and Modifying the Original User Password
- Querying User Details by User ID
- Querying User Details by Username
- Querying the User List
- Authorizing an Application Account
- Querying All Authorized Application Accounts of a User
- Organization Management
- Application Organization Management
- Application Account Management
- Application Role Management
- User APIs
- Application Integration APIs
-
Management APIs
- Appendix
- FAQs
- General Reference
Copied.
Verifying Callback URL
If the URL for the enterprise application to receive event push is https://{app_domain}/callback, OneAccess will send a verification event to this URL when the administrator saves the callback configuration.
URL
POST https://{app_domain}/callback
Request Header
Authorization: Bearer {access_token}
Request Parameters
Parameter |
Type |
Description |
---|---|---|
nonce |
String |
Random number, which is used together with timestamp to prevent replay attacks on requests. |
timestamp |
Integer |
Timestamp, which is used together with nonce to prevent replay attacks on requests. |
eventType |
String |
Event type. The value is CHECK_URL here. |
data |
String |
Message body. If encryption is disabled, the random string is sent in plaintext. If encryption is enabled, the random string must be decrypted to reveal the content. After decryption, the random and msg fields will be displayed. The msg field contains the plaintext message content. |
signature |
String |
Message signature. The signature is calculated based on the signature key (signatureSaltValue) provided by the enterprise application, along with the timestamp, nonce from the request, and the encrypted message body. |
Response Parameters
Parameter |
Type |
Description |
---|---|---|
code |
String |
Return code. The value 200 indicates success. For details about error codes, see Common Return Codes. |
message |
String |
Response description. |
data |
String |
|
Example Request
- Example request with message signature and encryption disabled:
{ "nonce": "bqVHvThFGooCRjSf", "timestamp": 1573784783795, "eventType": "CHECK_URL", "data": "random string", "signature": "" }
- Example request with message signature and encryption enabled:
{ "nonce": "jmgjjEAJbrMzWmUw", "timestamp": 15093849585, "eventType": "CHECK_URL", "data": "jRqGWO08Tyuxq+ChqGFk7SiPCt6MgcUDvzP5CBYnD30=", "signature": "K08yDiTEc094KoccOY+VYLQFxxQ=" }
Example Response
Status code: 200
Request successful.
- Response example with message signature and encryption disabled:
{ "code": "200", "data": " 2852325935078140700", "message": "success" }
- Response example with message signature and encryption enabled:
{ "code": "200", "message": "success", "data": "u5GkfEdZC0EDvDldLWBK/w==" }
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.
Chatbot