API for retrieving token and deeplink to Windows app


It looks like using deeplink with Windows App isn’t working properly : it launches the app but nothing else. The token is retrieved by the webUI then we are using : Login Flow — Nextcloud latest Developer Manual latest documentation
If we would like to automatically and seamlessly authenticate user, is it the proper way ?