# .NET 6 Native Client

**URL:** <https://community.auth0.com/t/net-6-native-client/78733>\
**Category:** Get Help\
**Tags:** forum\
**Created:** [February 22, 2022, 9:03pm UTC](https://community.auth0.com/t/net-6-native-client/78733 "2022-02-22T21:03:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdunn13](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bdunn13/32/35382_2.png) [@bdunn13](https://community.auth0.com/u/bdunn13)\
**Post date:** [February 22, 2022, 9:03pm UTC](https://community.auth0.com/t/net-6-native-client/78733/1 "2022-02-22T21:03:26Z")

</div>

I am trying to use .NET 6 and create a Native windows client and library. I am having issues finding a solution to retrieve a user / token with the library.

```auto
using Auth0.OidcClient;

Auth0ClientOptions clientOptions = new Auth0ClientOptions
{
    Domain = "XXXX",
    ClientId = "XXXX"
};
var client = new Auth0Client(clientOptions);

```

The above works fine in .NET 4.7… I am just looking for a .NET 6 solution.

It appears OidcClient has not been ported to .NET 6 yet. Is this something that is going to happen? If not, is there an alternative solution?

Are there plans to support Maui?

Thanks for any help in advance you may provide,  
Brad

---

<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:** [February 23, 2022, 6:59am UTC](https://community.auth0.com/t/net-6-native-client/78733/2 "2022-02-23T06:59:43Z")

</div>

Hey there!

Here’s more on that:

> [@Auth0.net should be compatible with dotnet maui](https://community.auth0.com/t/auth0-net-should-be-compatible-with-dotnet-maui/73432/6):
>
> Hi, did you make any progress with this? I am busy trying to do the same thing, my thought is to authenticate like I would a Xamarin Forms app and then somehow pass the Bearer on to the BlazorWebView

---

<div class="post-metadata">

**Author:** ![bdunn13](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bdunn13/32/35382_2.png) [@bdunn13](https://community.auth0.com/u/bdunn13)\
**Post date:** [February 25, 2022, 4:28pm UTC](https://community.auth0.com/t/net-6-native-client/78733/3 "2022-02-25T16:28:05Z")

</div>

Thanks for your assistance and the link… That was helpful in determining a timetable and path forward.

For me, I am going to drop back to .net Core 3.1 for now and use WPF… In April / May, I will consider upgrading to MAUI and .NET 6.

---

<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:** [February 28, 2022, 11:26am UTC](https://community.auth0.com/t/net-6-native-client/78733/4 "2022-02-28T11:26:53Z")

</div>

Perfect gotchya! Thanks for sharing with the rest of community!

---

<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:** [March 15, 2022, 11:27am UTC](https://community.auth0.com/t/net-6-native-client/78733/5 "2022-03-15T11:27:17Z")

</div>

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