I cant reproduce behavior when working with remote like work with localhost application. When i work with localhost i can authenticate and be redirected to client, but when