# LoginAsync hangs in admin mode

**URL:** <https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [January 25, 2023, 11:43am UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909 "2023-01-25T11:43:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshkumargce.kumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sureshkumargce.kumar/32/37366_2.png) [@sureshkumargce.kumar](https://community.auth0.com/u/sureshkumargce.kumar)\
**Post date:** [January 25, 2023, 11:43am UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909/1 "2023-01-25T11:43:58Z")

</div>

Hi ,

I am using native winform application from here to login to my web page . [Auth0 WPF / Winforms SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/wpf-winforms).

If I run the application normally everything works fine and I am getting token from my web server. but if I run the application in admin mode , it hangs after this call forever,

await client.LoginAsync(extraParameters: extraParameters).

Can anyone please help me with this.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 25, 2023, 3:16pm UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909/2 "2023-01-25T15:16:17Z")

</div>

Hey there!

In order to handle that most effectively can I ask you to raise a GitHub issue here:

> **[Issues · auth0-samples/auth0-WinFormsWPF-oidc-samples](https://github.com/auth0-samples/auth0-WinFormsWPF-oidc-samples/issues)**
>
> Auth0 OIDC Client with Windows Forms / WPF applications - Issues · auth0-samples/auth0-WinFormsWPF-oidc-samples

so we can work on that directly with the repo maintainers? Once you opened it make sure to share it here with us so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![sureshkumarpsgce](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sureshkumarpsgce/32/43949_2.png) [@sureshkumarpsgce](https://community.auth0.com/u/sureshkumarpsgce)\
**Post date:** [January 26, 2023, 7:39am UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909/3 "2023-01-26T07:39:23Z")

</div>

Hi ,

I raised Github issue .

[LoginAsync hangs in admin mode · Issue #30 · auth0-samples/auth0-WinFormsWPF-oidc-samples · GitHub](https://github.com/auth0-samples/auth0-WinFormsWPF-oidc-samples/issues/30).

Thanks .

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 26, 2023, 10:43am UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909/4 "2023-01-26T10:43:56Z")

</div>

Perfect! I’ll ping the repo maintainers in a few minutes!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 9, 2023, 10:44am UTC](https://community.auth0.com/t/loginasync-hangs-in-admin-mode/98909/5 "2023-02-09T10:44:11Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
