Redirect url opens a blank page after first time login, works everytime after that.

This question is regarding app to app linking/deep linking originating from a website. After user logs in using his credentials from the browser for the very first time, the redirect URL should open the app, instead, the redirect URL gets opened inside the browser. In subsequent log in attempts, the deep linking works correctly since the user is already logged in. Please refer to the app site association file : https://drive.google.com/file/d/17u4Qpj90AudIsT0mY9_DeeRW3woJosJ8/view?usp=sharing

Redirect url opens a blank page after first time login, works everytime after that.
 
 
Q