Currently we need to use some query params to pass the token, but it feels more elegant to have:
{ token: "token I got from the URL", somePayloadItem: "foobar" }
This is especially useful when you have an intermediate UI to check the token, in my case I have a "check" page that will manually send a query to the verification callback and pass the token. I need to construct the URL with a query param while I'd rather send a POST request as we already do to send the email.
Currently we need to use some query params to pass the token, but it feels more elegant to have:
{ token: "token I got from the URL", somePayloadItem: "foobar" }
This is especially useful when you have an intermediate UI to check the token, in my case I have a "check" page that will manually send a query to the verification callback and pass the token. I need to construct the URL with a query param while I'd rather send a POST request as we already do to send the email.