You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Create an Identity API, When user email address is passed in CAPITAL letters and even though the VerifiableAddressStatus value is set to true in the request, but the status is set to false in kratos.
Preflight checklist
Ory Network Project
No response
Describe the bug
In Create an Identity API, When user email address is passed in CAPITAL letters and even though the VerifiableAddressStatus value is set to true in the request, but the status is set to false in kratos.
Reproducing the bug
Request:
POST /admin/identities
{
"schema_id": "default",
"credentials": {
"password": {
"config": {
"password": "" // omitted here
}
}
},
"traits": {
"email": "TEST@example.com"
},
"verifiable_addresses": [
{
"value": "TEST@example.com",
"verified": true,
"via": "email",
"status": "completed"
}
]
}
RESPONSE:
{
"id": "f56a8b9b-45a1-4b57-acef-af327cb0edf8",
"credentials": {
"password": {
"type": "password",
"identifiers": [
"test@example.com"
],
"version": 0,
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z"
}
},
"schema_id": "default",
"schema_url": "",
"state": "active",
"state_changed_at": "2024-03-08T10:21:36.453063761Z",
"traits": {
"email": "TEST@example.com"
},
"verifiable_addresses": [
{
"id": "51681889-82f6-4918-88cb-84cbe8d39af3",
"value": "test@example.com",
"verified": false,
"via": "email",
"status": "pending",
"created_at": "2024-03-08T10:21:36.455585Z",
"updated_at": "2024-03-08T10:21:36.455585Z"
}
],
"recovery_addresses": [
{
"id": "e18df1ba-083d-4509-b303-c68a583a710e",
"value": "test@example.com",
"via": "email",
"created_at": "2024-03-08T10:21:36.456606Z",
"updated_at": "2024-03-08T10:21:36.456606Z"
}
],
"created_at": "2024-03-08T10:21:36.454449Z",
"updated_at": "2024-03-08T10:21:36.454449Z"
}
VerifiableAddressStatus value is false in the response, expected to be true
Relevant log output
No response
Relevant configuration
No response
Version
v1.0.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response
The text was updated successfully, but these errors were encountered: