Direct login from other website

Hello friends,

I want to develop a feature just like "google gmail and google drive"
i have to domain one main ""
and other is and both having same user/password.

so if i logged in to and here is a button “Go To Drive” then on click the button i want to open a new tab for that direct access skip login.

I got the solution.

here as well: please give out a bit more details about what you did and where… so that other could participate in your solution :wink:

Next Cloud login page accept GET and POST method by GET method its show the login form page
and by POST processes to login.
So i have making change on ", here a button “NC Drive” on click sending postdata (user,password) to