Skip to content

Commit

Permalink
Fix config issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DivyaPremanantha committed Dec 12, 2024
1 parent 9318eeb commit b0590b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 28 deletions.
38 changes: 12 additions & 26 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"port": 3000,
"pathToContent": "../src/",
"mode": "production",
"controlPlane" : {
"controlPlane": {
"url": "https://127.0.0.1:9443/api/am/devportal/v3",
"disableCertValidation": true,
"pathToCertificate": "../api-developer-portal/conf/security/client-truststore.pem"
Expand All @@ -17,7 +17,7 @@
"providerURL": {
"AWS": "https://aws.amazon.com"
},
"identityProvider" : {
"identityProvider": {
"name": "IS",
"issuer": "https://127.0.0.1:9443/oauth2/token",
"authorizationURL": "https://localhost:9443/oauth2/authorize",
Expand All @@ -29,27 +29,13 @@
"signUpURL": "",
"logoutURL": "https://localhost:9443/oidc/logout",
"logoutRedirectURI": "http://localhost:3000/ACME"
},
"roleClaim": "roles",
"orgIDClaim": "organizationID",
"groupsClaim": "groups",
"adminRole": "admin",
"subscriberRole": "Internal/subscriber",
"superAdminRole": "superAdmin",
"authenticatedPages": [
"/*/configure",
"/portal",
"/*/applications",
"/*/applications/*",
"/*/myAPIs",
"/*/myAPIs/*"
],
"authorizedPages": [
"/*/applications",
"/*/applications/*",
"/*/configure",
"/portal",
"/*/myAPIs",
"/*/myAPIs/*"
]
}
},
"roleClaim": "roles",
"orgIDClaim": "organizationID",
"groupsClaim": "groups",
"adminRole": "admin",
"subscriberRole": "Internal/subscriber",
"superAdminRole": "superAdmin",
"authenticatedPages": [],
"authorizedPages": []
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devportal-webapp",
"version": "1.0.70",
"version": "1.0.68",
"description": "devportal-webapp",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -74,7 +74,9 @@
"node_modules/axios/**/*"
],
"targets": [
"node18-macos-x64"
"node18-macos-x64",
"node18-linux-x64",
"node18-win-x64"
],
"outputPath": "dist"
},
Expand Down

0 comments on commit b0590b5

Please sign in to comment.