# Automatic Login to Javascript Client Adapter with inital Access and Refresh Token

**URL:** <https://forum.keycloak.org/t/automatic-login-to-javascript-client-adapter-with-inital-access-and-refresh-token/1331>\
**Category:** Securing applications\
**Tags:** authentication\
**Created:** [February 20, 2020, 8:17pm UTC](https://forum.keycloak.org/t/automatic-login-to-javascript-client-adapter-with-inital-access-and-refresh-token/1331 "2020-02-20T20:17:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![behrooz-tahanzadeh](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/behrooz-tahanzadeh/32/883_2.png) [@behrooz-tahanzadeh](https://forum.keycloak.org/u/behrooz-tahanzadeh)\
**Post date:** [September 11, 2020, 11:39am UTC](https://forum.keycloak.org/t/automatic-login-to-javascript-client-adapter-with-inital-access-and-refresh-token/1331/7 "2020-09-11T11:39:43Z")

</div>

I’ve also ran into same issue. Also; in my case the frontend has the actual username and password so I can potentially submit them to `login-actions/authenticate` end-point. Any update on this thread or any suggestion how to generate a `login-actions/authenticate` url.

Thank you for any suggestion…

[http://forum.keycloak.org/t/having-authentication-token-and-login-credentials-how-we-can-automatically-login-user/4825](http://forum.keycloak.org/t/having-authentication-token-and-login-credentials-how-we-can-automatically-login-user/4825)

---

_[View the full topic](https://forum.keycloak.org/t/automatic-login-to-javascript-client-adapter-with-inital-access-and-refresh-token/1331)._
