Hi,
Using the latest Ory Kratos release (v0.3.0-alpha.1), I receive empty responses from the server trying to complete the verification flow. I initiate the flow with a GET /self-service/browser/flows/verification/email.
Then, the next call is a call to GET /self-service/browser/flows/requests/verification?request=<request>
. Then, as I POST to /self-service/browser/flows/verification/email/complete?request=<request>
, the response from the server is empty. However, at this point, an email is sent to the address that needs to be verified. And, finally, following the verification mail in the link, i.e. a GET to /self-service/browser/flows/verification/email/confirm/{code}
, also results in an empty response. When I check the logs, there are no traces of errors, even when the log level is set to DEBUG. And if I check the database, the account status is set to complete and the verified flag to true, so the verification seem to work under the hood, but the response from the server is empty.
What could be the problem here? Mails are sent using AWS Simple Email Service.
And after successful verification, what is supposed to happen? Will the user be logged in and given the opportunity to set his password? Self-service registration does not really work for us, so our preferred way of dealing with identities is that an administrator creates the user accounts using the /identities
endpoint, then initiates the verification flow so the user receives the email with the verification link, and finally that the user follows the link, is logged in and can set his password. Maybe this is not the way it’s supposed to work? Implementing the self-service registration flow in a server facade seems a bit unpractical, but I guess It’s possible.
Cheers
Lars