updated designer.json

merge-requests/1/head
GPrathap 8 years ago
parent 598a41e964
commit 9192f8e65c

@ -25,21 +25,32 @@
} }
}, },
"authorization": { "authorization": {
"activeMethod": "", "activeMethod": "oauth",
"methods": { "methods": {
"oauth": { "oauth": {
"attributes": { "attributes": {
"idPServer": "%https.ip%/oauth2/token", "apimgt-gateway": false,
"dynamicClientProperties": { "oauthProvider": {
"callbackUrl": "%https.ip%/portal", "appRegistration": {
"appType": "webapp",
"clientName": "portal", "clientName": "portal",
"owner": "admin", "owner": "admin",
"applicationType": "JaggeryApp", "password":"admin",
"grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer", "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register",
"saasApp": false, "apiManagerClientAppRegistrationServiceURL": "%https.host%/api-application-registration/register/tenants",
"dynamicClientRegistrationEndPoint": "%https.ip%/dynamic-client-web/register/", "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer",
"tokenScope": "Production" "tokenScope": "admin",
} "callbackUrl": "%https.host%/portal",
"saasApp":true
},
"tokenServiceURL": "https://localhost:9443/oauth2/token"
},
"adminUser":"admin@carbon.super",
"adminUserTenantId":"-1234",
"adminRole":"admin",
"scopes" : [
"device:view"
]
} }
} }
} }

@ -34,17 +34,28 @@
"methods": { "methods": {
"oauth": { "oauth": {
"attributes": { "attributes": {
"idPServer": "%https.host%/oauth2/token", "apimgt-gateway": false,
"dynamicClientProperties": { "oauthProvider": {
"callbackUrl": "%https.host%/portal", "appRegistration": {
"appType": "webapp",
"clientName": "portal", "clientName": "portal",
"owner": "admin", "owner": "admin",
"applicationType": "JaggeryApp", "password":"admin",
"grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer", "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register",
"saasApp": false, "apiManagerClientAppRegistrationServiceURL": "%https.host%/api-application-registration/register/tenants",
"dynamicClientRegistrationEndPoint": "%https.host%/dynamic-client-web/register/", "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer",
"tokenScope": "Production" "tokenScope": "admin",
} "callbackUrl": "%https.host%/portal",
"saasApp":true
},
"tokenServiceURL": "https://localhost:9443/oauth2/token"
},
"adminUser":"admin@carbon.super",
"adminUserTenantId":"-1234",
"adminRole":"admin",
"scopes" : [
"device:view"
]
} }
} }
} }

Loading…
Cancel
Save