curl
Ocient HTTP Query API
sso_device_grant
Retrieve an OpenID device grant code that the Ocient System can verify and use with the sso_device_grant_verify endpoint.
The device grant process is intended for devices with limited input capabilities or no web browser:
- Call this endpoint to retrieve a user code and verification URI.
- Display the user code and verification URI to the user.
- The user visits the verification URI on another device and enters the code.
- Call the sso_device_grant_verify endpoint to check if the user has completed verification.
POST
curl
Body
application/json
Target database name. If you do not specify this parameter, the request defaults this value to system. This value represents the database where the user connects after completing the device grant process.
Last modified on May 20, 2026

