Skip to content
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

feat: changes in admin-ui plugin to allow agama-developer-studio to use its OAuth2 apis #3085 #3298

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

duttarnab
Copy link
Contributor

ToDos:

  • Currently, the admin-ui plugin read the oidc client details from auiConfiguration.properties (placed on the server). this file contains op_host, client_id, client_secret, acrs_values, authz_endpoint, etc of oidc clients used for authentication and token generation. We will now store this information in the database (LDAP. MySQL etc..) in admin-ui configuration and remove auiConfiguration.properties. The plugin will read the information from DB.

  • The agama-developer-studio configuration will be created in the database containing ADS oidc client details.

  • We will add the ability to the admin-ui plugin so that agama-developer-studio can use its following APIs.

  • appType: admin-ui, agama-developer-studio.

  1. API: /app/{appType}/oauth2/config -- To get ADS client configuration.
  2. API: /app/{appType}/oauth2/access-token -- To generate access_token to get user-info
  3. API: /app/{appType}/oauth2/user-info -- To get user-info
  4. API: /app/{appType}/oauth2/api-protection-token -- To generate api-protection-token containing required scopes to access confg-api endpoints.

closes #3085

@yuriyz yuriyz merged commit 9e9a7bd into main Dec 13, 2022
@yuriyz yuriyz deleted the jans-config-api-issue-3085 branch December 13, 2022 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat (jans-config-api): changes in admin-ui plugin to allow agama-developer-studio to use its OAuth2 apis
2 participants