# login issue in ngclient solution.

**URL:** <https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660>\
**Category:** Classic Servoy\
**Created:** [December 10, 2015, 2:49am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660 "2015-12-10T02:49:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashutoslenka426](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ashutoslenka426](https://forum.servoy.com/u/ashutoslenka426)\
**Post date:** [December 10, 2015, 2:49am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660/1 "2015-12-10T02:49:12Z")

</div>

Hi All,

I have implemented servoy security in ngclient solution . Everything is working fine but it is not switching to the solution first form .The security.login method is returning true . But after that it should switch to the main solution first form . But it is not doing so . But the similar stuff is working fine for smart client and web client. Please advise me.

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [December 10, 2015, 8:48am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660/2 "2015-12-10T08:48:36Z")

</div>

Hi Ashutos,  
This issue is already reported to Servoy. I think it will be solved in v8.0.2.

In the meantime you can hardcode the record id of the login user to fake the login.  
It should provide you with a first form.  
At least in my solution this workaround works.

Derk

---

<div class="post-metadata">

**Author:** ![Ruben79](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@Ruben79](https://forum.servoy.com/u/Ruben79)\
**Post date:** [December 10, 2015, 9:19am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660/3 "2015-12-10T09:19:54Z")

</div>

Are you on 8.0.1? I had the same issue, just made some time to test it through.  
I could not find an issue, so I created one: [https://support.servoy.com/browse/SVP-738](https://support.servoy.com/browse/SVP-738)

A workaround is to use application.showForm() at the end of your onOpen method.

---

<div class="post-metadata">

**Author:** ![ashutoslenka426](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ashutoslenka426](https://forum.servoy.com/u/ashutoslenka426)\
**Post date:** [December 10, 2015, 9:35am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660/4 "2015-12-10T09:35:48Z")

</div>

Hi derk ,

Thanks for your reply . I could not able to get the work around . Can you please explain the work around little further.

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [December 10, 2015, 9:59am UTC](https://forum.servoy.com/t/login-issue-in-ngclient-solution/18660/5 "2015-12-10T09:59:21Z")

</div>

I am on v 801  
Issue is there; I created it myself ![:D]( "Very Happy")

Well I disabled the login and authentication on my solution.  
I use a scope for session handling etc.

Normally after login I have the user credentials and put that in an javascript object.  
Now I hardcoded some variables in that object to have a admin account settings after login.  
Just load the form and it will display the same stuff as you have with login credentials
