Skip to content

Commit

Permalink
feat: changes in admin-ui plugin to allow agama-developer-studio to u…
Browse files Browse the repository at this point in the history
…se its OAuth2 apis #3085
  • Loading branch information
duttarnab committed Dec 9, 2022
1 parent ceb6cf1 commit 15dcc73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@Hidden
@Path("/app")
public class OAuth2Resource {

//appType: admin-ui, ads
static final String OAUTH2_CONFIG = "/{appType}/oauth2/config";
static final String OAUTH2_ACCESS_TOKEN = "/{appType}/oauth2/access-token";
static final String OAUTH2_API_PROTECTION_TOKEN = "/{appType}/oauth2/api-protection-token";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public interface AppConstants {
public static final String ADMIN_UI_CONFIG_DN = "ou=admin-ui,ou=configuration,o=jans";
public static final String ADS_CONFIG_DN = "ou=agama-developer-studio,ou=configuration,o=jans";
public static final String LICENSE_SPRING_API_URL = "https://api.licensespring.com/api/v4/";
//application type
public static final String APPLICATION_KEY_ADMIN_UI = "admin-ui";
public static final String APPLICATION_KEY_ADS = "agama-developer-studio";
public static final String APPLICATION_KEY_ADS = "ads";
}

0 comments on commit 15dcc73

Please sign in to comment.