{
    "id": "github-idp",
    "name": "GitHub",
    "description": "Login users with existing GitHub accounts.",
    "image": "github",
    "category": "DEFAULT",
    "displayOrder": 3,
    "services": [],
    "tags": [ "Social-Login" ],
    "idp": {
        "name": "GitHub",
        "description": "",
        "image": "",
        "isPrimary": false,
        "isFederationHub": false,
        "homeRealmIdentifier": "",
        "certificate": {
            "certificates": []
        },
        "alias": "https://localhost:9444/oauth2/token",
        "claims": {
            "userIdClaim": {
                "uri": "http://wso2.org/claims/username"
            },
            "roleClaim": {
                "uri": "http://wso2.org/claims/role"
            },
            "provisioningClaims": []
        },
        "roles": {
            "mappings": [],
            "outboundProvisioningRoles": []
        },
        "provisioning": {
            "jit": {
                "isEnabled": true,
                "scheme": "PROVISION_SILENTLY",
                "userstore": "DEFAULT"
            }
        },
        "federatedAuthenticators": {
            "defaultAuthenticatorId": "R2l0aHViQXV0aGVudGljYXRvcg",
            "authenticators": [
                {
                    "authenticatorId": "R2l0aHViQXV0aGVudGljYXRvcg",
                    "isEnabled": true,
                    "properties": [
                        {
                            "key": "AdditionalQueryParameters",
                            "displayName": "Additional Query Parameters",
                            "description": "Additional query parameters. e.g: paramName1=value1",
                            "type": "STRING",
                            "displayOrder": 4,
                            "regex": ".*",
                            "isMandatory": false,
                            "isConfidential": false,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        },
                        {
                            "key": "UsePrimaryEmail",
                            "displayName": "Use Primary Email",
                            "description": "Specifies if primary email is used instead of public email.",
                            "type": "BOOLEAN",
                            "displayOrder": 6,
                            "regex": ".*",
                            "isMandatory": false,
                            "isConfidential": false,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        },
                        {
                            "key": "callbackUrl",
                            "displayName": "Callback URL",
                            "description": "Enter value corresponding to callback url.",
                            "type": "STRING",
                            "displayOrder": 5,
                            "regex": ".*",
                            "isMandatory": false,
                            "isConfidential": false,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        },
                        {
                            "key": "scope",
                            "displayName": "Scope",
                            "description": "Enter scope for the user access",
                            "type": "STRING",
                            "displayOrder": 3,
                            "regex": ".*",
                            "isMandatory": false,
                            "isConfidential": false,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        },
                        {
                            "key": "ClientId",
                            "displayName": "Client Id",
                            "description": "Enter Github IDP client identifier value",
                            "type": "STRING",
                            "displayOrder": 1,
                            "regex": ".*",
                            "isMandatory": true,
                            "isConfidential": false,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        },
                        {
                            "key": "ClientSecret",
                            "displayName": "Client Secret",
                            "description": "Enter Github IDP client secret value",
                            "type": "STRING",
                            "displayOrder": 2,
                            "regex": ".*",
                            "isMandatory": true,
                            "isConfidential": true,
                            "options": [],
                            "defaultValue": "",
                            "subProperties": []
                        }
                    ]
                }
            ]
        }
    },
    "type": "SOCIAL",
    "templateId": "github-idp"
}
