You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users should be able to use Admin UI only after entering license API keys and license-key.
Steps:
After installation, when the user will visit Admin-UI, the GUI will check if license is active. It will call below endpoint. If the endpoint returns true (apiResult) then it will redirect to login page.
Success Response:
{
"apiResult": true,
"responseMessage": "Success!!",
"responseCode": 200
} Failure Response:
{
"apiResult": false,
"responseMessage": "Active license not present.",
"responseCode": 500
}
3. If it returns false (apiResult) then it will redirect to page asking for API keys.
After entering API keys user will click on the Next button to call below endpoint. If the endpoint returns true then user can go to next page to enter license-key. If it returns false then it will show error message: Error in validation. Please check if the entered details are correct.
If the correct license-key is submitted then the User will be redirected to the login page else it will show error message to enter correct license-keys.
Users should be able to use Admin UI only after entering license
API keys
andlicense-key
.Steps:
true
(apiResult) then it will redirect to login page.GET
https://admin-ui-test.gluu.org/jans-config-api/admin-ui/license/isActiveSuccess Response:
{
"apiResult": true,
"responseMessage": "Success!!",
"responseCode": 200
}
Failure Response:
{
"apiResult": false,
"responseMessage": "Active license not present.",
"responseCode": 500
}
3. If it returns
false
(apiResult) then it will redirect to page asking for API keys.Next
button to call below endpoint. If the endpoint returnstrue
then user can go to next page to enterlicense-key
. If it returnsfalse
then it will show error message:Error in validation. Please check if the entered details are correct.
POST
https://admin-ui-test.gluu.org/jans-config-api/admin-ui/license/saveApiCredentialsRequest
{
"apiKey":"xxxxxxxx-xxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx",
"productCode":"xxxxxxxxxx",
"sharedKey":"xxxxxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxx",
"managementKey":"xxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxx"
}
Success Response:
{
"apiResult": true,
"responseMessage": "Success!!",
"responseCode": 201
}
Failure Response:
{
"apiResult": false,
"responseMessage": "The license credentials are not valid..",
"responseCode": 500
}
license-key
is submitted then the User will be redirected to the login page else it will show error message to enter correctlicense-keys
.Endpoint to verify
license-key
:POST
https://admin-ui-test.gluu.org/jans-config-api/admin-ui/license/activateLicenseRequest:
{
"licenseKey":"xxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxx"
}
Success REsopnse
{
"apiResult": true,
"responseMessage": "The license activated successfully.",
"responseCode": 200
}
Failure Response
{
"apiResult": false,
"responseMessage": "The license-key is not correct.",
"responseCode": 500
}
or
{
"apiResult": false,
"responseMessage": "The license has been already activated.",
"responseCode": 500
}
The text was updated successfully, but these errors were encountered: