Use Oauth2 access token to login to owncloud

I’m in need of login to owncloud through my website.
My website user’s passwords are stored in LDAP. I’m not saving my user password in the database.I have another server with owncloud installation. That owncloud installation is also uses the same LDAP server for user authentication.

Requirement is to first login to my website, then click on an icon on my home page and direct to user’s owncloud account through my webpage without entering username/password again.

I have installed Oauth2 Application in owncloud ( and I can get the access token too correctly from owncloud to my website.

The problem is I’m not having a proper idea, how to use this AccessToken to login to owncloud. Is this way is correct for full fill my requirement? is there any other way to do this?