Cordova app cannot connect using magic link


I am trying to log in to a Cordova app using magic link.
I have logged in successfully using email code. But unfortunately using magic doesn’t work.
To do that, I have used /passwordless/start API and I added redirect_uri parameter with my app deep link.

So, the magic link opens the app but doesn’t log in.
Ayn idea about this problem?