Skip to content

Commit d3c69a2

Browse files
committed
added note related to wpf apps
1 parent 7fe30a3 commit d3c69a2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/wpf-winforms-tutorial.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Using Auth0 with WPF or Winforms
22

3-
This tutorial explains how to integrate Auth0 with a WPF or Winforms application. `Auth0.WinformsWPF` helps you authenticate users with any [Auth0 supported identity provider](identityproviders).
3+
This tutorial explains how to integrate Auth0 with a WPF or Winforms application. `Auth0.WinformsOrWPF` helps you authenticate users with any [Auth0 supported identity provider](identityproviders).
44

55
## Tutorial
66

7-
### 1. Install Auth0.WinformsWPF NuGet package
7+
### 1. Install Auth0.WinformsOrWPF NuGet package
88

9-
Use the NuGet Package Manager (Tools -> Library Package Manager -> Package Manager Console) to install the Auth0.WinformsWPF package, running the command:
9+
Use the NuGet Package Manager (Tools -> Library Package Manager -> Package Manager Console) to install the Auth0.WinformsOrWPF package, running the command:
1010

11-
<pre><code>Install-Package Auth0.WinformsWPF</pre></code>
11+
<pre><code>Install-Package Auth0.WinformsOrWPF</pre></code>
1212

1313
### 2. Setting up the callback URL in Auth0
1414

@@ -51,6 +51,8 @@ auth0.LoginAsync (this)
5151

5252
![](img/wpf-winforms-step1.png)
5353

54+
> For __WPF__ apps you should use `auth0.LoginAsync(new WindowWrapper(new WindowInteropHelper(this).Handle))` instead of `auth0.LoginAsync (this)`
55+
5456
#### Option 2: Authentication with your own UI
5557

5658
If you know which identity provider you want to use, you can add a `connection` parameter to the constructor and the user will be sent straight to the specified `connection`:

0 commit comments

Comments
 (0)