curved-knife-24489
09/10/2024, 8:12 AM{
"error": {
"code": 500,
"status": "Internal Server Error",
"request": "022394c0-fb4e-9334-b389-80f42fe68810",
"message": "jsonnetsecure: ERROR: <https://storage.googleapis.com/bac-gcs-production/39c234344f66884f950fb26a451e1d694b37aa31a755d33e0a5e9fba81a80b9b0943c49beb480bcfcfcdc1470f0af8830c547ea2906cfd9a6fb9e12f1026ed65.jsonnet:4:3-9> Expected a comma before next field\n\n traits: {\r\n\n"
}
}{
"id": "4ce6a913-bcfe-40dc-a91a-e1946c8b4951",
"organization_id": null,
"type": "browser",
"expires_at": "2024-09-10T09:11:02.895534025Z",
"issued_at": "2024-09-10T08:11:02.895534025Z",
"request_url": "<https://dev-ory>.****.com/self-service/login/browser",
"ui": {
"action": "<https://dev-ory>.****.com/self-service/login?flow=4ce6a913-bcfe-40dc-a91a-e1946c8b4951",
"method": "POST",
"nodes": [
{
"type": "input",
"group": "oidc",
"attributes": {
"name": "provider",
"type": "submit",
"value": "google",
"disabled": false,
"node_type": "input"
},
"messages": [],
"meta": {
"label": {
"id": 1010002,
"text": "Sign in with Google",
"type": "info",
"context": {
"provider": "Google",
"provider_id": "google"
}
}
}
},
{
"type": "input",
"group": "default",
"attributes": {
"name": "csrf_token",
"type": "hidden",
"value": "2KETOvfLxshOUbCgkNsM4MjvwXPLtb5K8le9huo9nH9UpdMrfl9NXfqg9KszHdYtmVfSsWxxCjuHuZvVPqbTPw==",
"required": true,
"disabled": false,
"node_type": "input"
},
"messages": [],
"meta": {}
}
]
},
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"refresh": false,
"requested_aal": "aal1",
"state": "choose_method"
}
refined-kangaroo-48640
09/10/2024, 8:34 AM"message": "jsonnetsecure: ERROR: <https://storage.googleapis.com/bac-gcs-production/39c234344f66884f950fb26a451e1d694b37aa31a755d33e0a5e9fba81a80b9b0943c49beb480bcfcfcdc1470f0af8830c547ea2906cfd9a6fb9e12f1026ed65.jsonnet:4:3-9> Expected a comma before next field\n\n traits: {\r\n\n"
your snippet:
function(ctx) {
userId: ctx.identity.id,
customData: ctx.transient_payload.custom_data
traits: {
email: ctx.identity.traits.email,
name: ctx.identity.traits.name,
newsletterConsent: ctx.identity.traits.consent.newsletter,
}
}
missing comma at the end of third linecurved-knife-24489
09/10/2024, 8:49 AM