i have built a little plugin for KAP Screenrecorder to be able to share generated videos/gif to Nextcloud. This works so far.
Due to the fact that i implemented username and password authentication which is not a perfect solution i want to use Nextclouds login flow ( https://docs.nextcloud.com/server/14/developer_manual/client_apis/LoginFlow/index.html#obtaining-the-login-credentials )
What i have so far:
- Open a Window/Webview to
- User can login and grant permissions according to the login
I struggle getting the
nc://... URL from my electron webview.
Is it correct, that i will finally get redirected to a URL starting wirh
From this URL i need to extract the credentials?
What will a call to the API look like when a user is already logged in?
Thanks for your support.