wso2 / samples-is

Apache License 2.0
77 stars 226 forks source link

Configuration of the B2B sample application is refactored #381

Closed Achintha444 closed 1 year ago

Achintha444 commented 1 year ago

Purpose

Configurations of the B2B sample application is refactored to the following.

{
    "AuthorizationConfig": {
        "BaseOrganizationUrl": "<PARENT ORGANIZATION URL> ex: https://dev.api.asgardeo.io/t/guardio",
        "ClientId": "<CLIENT ID>",
        "ClientSecret": "<CLIENT SECRET>"
    },
    "ApplicationConfig": {
        "HostedUrl": "http://localhost:3000",
        "APIScopes": [
            "openid",
            "email",
            "profile",
            "internal_login",
            "internal_user_mgt_view",
            "internal_user_mgt_list",
            "internal_user_mgt_update",
            "internal_user_mgt_delete",
            "internal_user_mgt_create",
            "internal_idp_view",
            "internal_idp_create",
            "internal_idp_update",
            "internal_idp_delete",
            "internal_application_mgt_view",
            "internal_application_mgt_update",
            "internal_organization_view",
            "internal_role_mgt_view",
            "internal_role_mgt_create",
            "internal_role_mgt_update",
            "internal_role_mgt_delete",
            "internal_group_mgt_update"
        ],
        "Branding": {
            "name": "Guardio Insurance",
            "tag": "Anytime . Anywhere"
        },
        "SampleOrganization" : [
            {
                "id": "<SUB ORGANIZATION ID>",
                "name": "<SUB ORGANIZATION NAME>"
            }
        ]
    },
    "ManagementAPIConfig": {
        "SharedApplicationName": "<SHARED APPLICATION NAME> ex: guardio-app",
        "ImageBaseUrl" : "<IMAGE BASE URL - FOLLOW README.MD FOR MORE INFORMATION>"
    }
}