Hello I don't know is this is a bug or expected be...
# talk-kratos
n
Hello I don't know is this is a bug or expected behavior, but i'm using ory kratos with my frontend app and when I change user data using /self-service/settings endpoint it sometimes sends a verification email to this user email, and changes in the database in verifiable_addresses table: status to sent and verified to false for this user email Below are logs from kratos app, you can see that user data are changed and verification email is sent
Copy code
time=2022-08-19T11:01:23Z level=info msg=started handling request http_request=map[headers:map[accept:application/json, text/plain, */* accept-encoding:gzip, deflate, br accept-language:en-US,en;q=0.9 cloudfront-forwarded-proto:https cloudfront-is-desktop-viewer:true cloudfront-is-mobile-viewer:false cloudfront-is-smarttv-viewer:false cloudfront-is-tablet-viewer:false cloudfront-viewer-asn:5617 cloudfront-viewer-country:PL connection:Keep-Alive content-length:263 content-type:application/json cookie:[csrf_token_b2a2d32420af0115b5d17ea8e534f03d1b166343e23afd8a738233e0f95c9262=SsSaNPFASDhTL6fG70+UGkThY9HGJ+/mq+NbhUQr3Aw=; ory_kratos_session=MTY2MDkwNjc4NXwtNU10MjRWVFVRU3NrZjhJOXJLUEJQNlIyQ1N2TmY5b1FyUjg5OWE3T3Z0V3UtdTlxQTdOVEdrNi1pZkRaOFE4b1NPLXl4STcwQlV6RWFLM3ZMOVdJM2kzZEIwUkItSzRnUUxqTnZGejBoYm05bmhsa0VyaEpHZHROWG9paUYzd3JtanJ0RnFzbWc9PXxsDbko0M2_U6mvsJS1_Jca6YtH3k1dmczTFUBfUi0vnA==] origin:<https://tenant1.myme.neurosys.pro> referer:<https://tenant1.myme.neurosys.pro/> sec-ch-ua:" Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99" sec-ch-ua-mobile:?0 sec-ch-ua-platform:"Linux" sec-fetch-dest:empty sec-fetch-mode:cors sec-fetch-site:same-site user-agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 via:2.0 <http://d19bc25644fc0cb24d9e1c2cb87755ca.cloudfront.net|d19bc25644fc0cb24d9e1c2cb87755ca.cloudfront.net> (CloudFront) x-amz-cf-id:WSEQGDDYWINYlSyZPs82Lu9kNvngi_XvRO0zHJLsTpAXK47PqYUSSA== x-forwarded-for:46.170.126.114] host:<http://tenant1auth.myme.neurosys.pro|tenant1auth.myme.neurosys.pro> method:POST path:/self-service/settings query:flow=0ca8bfc5-3773-478e-9cc1-0b79564ba304 remote:130.176.143.172:12636 scheme:http]
kratos-server-1   | time=2022-08-19T11:01:23Z level=info msg=Sending out verification email with verification link. audience=audit email_address=m.mroczek+e@neurosys.com identity_id=fe4660e8-d028-4caa-b22b-3883a5c3a381 service_name=Ory Kratos service_version=v0.10.0 verification_link_id=5ef49983-0af5-4f2d-bfd4-5c8f379bbe77 verification_link_token=PiEypXVdNglKGBbA09cEgs9xEusXMl6j via=email
m
Hm are you changing the users email? I am not sure but then it would make sense to me that there is another verification flow triggered in that case.
n
yes i aware of that, but the problem is I'm changing only like user traits and the best part is it's happens not for all users 🙂
g
Hi , Did you find any solution for ,This I am getting verification link after password update.