{
    "id": "6a90e4b0-fbff-42d7-bfde-1efd98f07cd7",
    "templateId": "single-page-application",
    "name": "Single-Page Application",
    "description": "A web application that runs application logic in the browser.",
    "image": "spa",
    "authenticationProtocol": "oidc",
    "types": [
        "react",
        "angular",
        "javascript"
    ],
    "category": "DEFAULT",
    "displayOrder": 0,
    "templateGroup": "spa",
    "application": {
        "name": "",
        "advancedConfigurations": {
            "discoverableByEndUsers": false,
            "skipLogoutConsent": true
        },
        "authenticationSequence": {
            "type": "DEFAULT",
            "steps": [
                {
                    "id": 1,
                    "options": [
                        {
                            "idp": "LOCAL",
                            "authenticator": "basic"
                        }
                    ]
                }
            ]
        },
        "claimConfiguration":{
            "dialect":"LOCAL",
            "requestedClaims": [
                {
                    "claim": {
                        "uri":"http://wso2.org/claims/username"
                    }
                }
            ]
        },
        "inboundProtocolConfiguration": {
            "oidc": {
                "accessToken": {
                    "applicationAccessTokenExpiryInSeconds": 3600,
                    "bindingType": "sso-session",
                    "revokeTokensWhenIDPSessionTerminated": true,
                    "type": "Default",
                    "userAccessTokenExpiryInSeconds": 3600,
                    "validateTokenBinding": false
                },
                "grantTypes": [
                    "authorization_code",
                    "refresh_token"
                ],
                "allowedOrigins": [ "https://localhost:3000" ],
                "callbackURLs": [ "https://localhost:3000" ],
                "pkce": {
                    "mandatory": true,
                    "supportPlainTransformAlgorithm": false
                },
                "publicClient": true,
                "refreshToken": {
                    "expiryInSeconds": 86400,
                    "renewRefreshToken": true
                }
            }
        }
    }
}
