# How to Integrate Auto login of rocket chat with JSF application

**URL:** <https://forums.rocket.chat/t/how-to-integrate-auto-login-of-rocket-chat-with-jsf-application/97>\
**Category:** Feedback\
**Created:** [January 9, 2018, 3:21pm UTC](https://forums.rocket.chat/t/how-to-integrate-auto-login-of-rocket-chat-with-jsf-application/97 "2018-01-09T15:21:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuj](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anuj](https://forums.rocket.chat/u/anuj)\
**Post date:** [January 9, 2018, 3:21pm UTC](https://forums.rocket.chat/t/how-to-integrate-auto-login-of-rocket-chat-with-jsf-application/97/1 "2018-01-09T15:21:29Z")

</div>

Hi  
I want to integrate rocket chat auto login in jsf or jsp application. But can not find way. I want when user login in our application , it should me login in rocket chat application. For this i hit rest api for login and get auth token and I integrate ifram in page. But issue this that application used jsf and how can i pass this auth token with iframe for auto login.Please help me.Your help will appreciate. Thanks
