have configured Google Social Sign-in, however getting the following error:
{
"id": "f9b220fa-df66-4d65-80fd-31090f9cb2c1",
"error": {
"code": 500,
"message": "Error: failed to evaluate snippet:
https://storage.googleapis.com/bac-gcs-production/d9db10ab7759697bbd4237c79aec6d9a1928decceac1aab063f1da8ada2348d2a3415da2d16f9b79ae3f2a787eb2e4e2fe31e03be4f220f2c1a17a1573e73f15.jsonnet:1:3-8 Did not expect: \"local\"\n\n{}local claims = {\r\n\n\nUsage:\n jsonnet [flags]\n\nFlags:\n -h, --help help for jsonnet\n\n: exit status 1",
"status": "Internal Server Error"
},
"created_at": "2023-02-10T10
1116.986655Z",
"updated_at": "2023-02-10T10
1116.986655Z"
}
The only difference to the Ory instructions, is i removed the lines that i am not using under traits as follows. So ALL the below is under "Data mapping" for the Google SSO:
{}local claims = {
email_verified: true,
} + std.extVar('claims');
{
identity: {
traits: {
[if 'email' in claims && claims.email_verified then 'email' else null]: claims.email,
},
},
}