Javascript rest call to open pydio workspace in my web application

Hi all
I am looking for a way to use Rest api call in javascript with authentication to open pydio web workspace in my web application.

this will be simpler in the next major version, but for now, you would better have to use the combination of an iframe and eventually an sso system like our cms bridges (

I could open the web interface of pydio repository in iframe, but I don’t want to manually enter login credentials and click Submit button before opening the workspace. I want to do the login in javascript so that when I open the web interface of pydio it will directly bring me to workspace( files repository).