Skip to content

feat(admin-ui): add field in Admin UI configuration to set interval to sync license details into configuration #2015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
duttarnab opened this issue Feb 28, 2025 · 1 comment · Fixed by #2016
Assignees
Labels
comp-admin-ui Component affected by issue or PR enhancement New feature or request kind-feature Issue or PR is a new feature request

Comments

@duttarnab
Copy link
Contributor

Parent issue # JanssenProject/jans#10944

The frontend calls the Admin UI backend API (/isConfigValid) to validate the license configuration in persistence, essentially verifying the validity of the OIDC client used to access the License APIs. If it is not valid, the same API tries to register a new OIDC client using the SSA uploaded during installation. In case the SSA is invalid, the Admin UI shows a page to upload a new valid SSA. To minimize network calls to account.gluu.org, /isConfigValidverifies the OIDC client validity only at a set interval (default: 30 days). Otherwise,/isConfigValid checks if the required OIDC client for License APIs exists in the Admin UI configuration (persistence).

After validating the OIDC client, the Admin UI calls the backend API (/isActive) to check if a valid license is present in the license configuration. It verifies whether the license key and its details are valid and not expired. At regular intervals (default is 30 days), the Admin UI backend calls the SCAN API (/scan/license/isActive) to verify license validity and sync its details into the license configuration (persistence).

This issue for add field intervalForSyncLicenseDetailsInDays in license configguation (persistence).

@duttarnab
Copy link
Contributor Author

duttarnab commented Mar 3, 2025

This issue for add field intervalForSyncLicenseDetailsInDays in license configuation (persistence).

Hi @iromli we need add intervalForSyncLicenseDetailsInDays in admin ui configuration (for CN) with default value as 30. Please see below for reference:

https://github.com/GluuFederation/flex/blob/main/flex-linux-setup/flex_linux_setup/templates/auiConfiguration.json#L44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-admin-ui Component affected by issue or PR enhancement New feature or request kind-feature Issue or PR is a new feature request
Projects
None yet
2 participants