# How to login to cakephp 3 using external website login

**URL:** <https://discourse.cakephp.org/t/how-to-login-to-cakephp-3-using-external-website-login/434>\
**Category:** Need Help\
**Created:** [May 30, 2016, 11:32pm UTC](https://discourse.cakephp.org/t/how-to-login-to-cakephp-3-using-external-website-login/434 "2016-05-30T23:32:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goby22](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@goby22](https://discourse.cakephp.org/u/goby22)\
**Post date:** [May 30, 2016, 11:32pm UTC](https://discourse.cakephp.org/t/how-to-login-to-cakephp-3-using-external-website-login/434/1 "2016-05-30T23:32:19Z")

</div>

Hi,

I need some help to login to cakephp 3 with external API.

I Have develop a website in cakephp 3.2 and I need to let users that are login in en external site to login into my website using a API that I get from the external site. The logged user in the external site login in my site without inserting credential in my site

My question is how can I accomplish that in cakephp 3.2
