Login Flow programatically


is there any way to obtain set of credentials (new row in oc_authtoken) programatically without user interaction in webview? I want use one instance of NC just as backend for another web who will use its data (calendar, contacts, files) through API and Dav and let users sync their devices directly with NC. Both - my web and NC - will use same user database. So at time of login to my web I can use credentials to obtain “set of credentials” for my web and user (Login Flow) if it is possible. How to do it?

Thanks, J.

Hello jirik. Same issue with me. I want to do the same things as you. I want to know if you found a solution to your problem