You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> In order for the keychain to work as intended, you should make sure you 1. install the dependencies, 2. Reboot/restart wsl, 3. Configure the keychain. Failure to do the steps in the correct order will result with the keychain missing the option for "Password Keychain".
91
+
92
+
58
93
### Set up Keyring in WSL
59
94
60
95
MSAL uses `libsecret` on Linux. It's required to communicate with the `keyring` daemon. Users can use [Seahorse](https://wiki.gnome.org/Apps/Seahorse/) (a GNOME application for managing encryption keys and passwords) to manage the `keyring` contents through a Graphical User Interface (GUI).
61
96
62
97
On Debian-based distributions, you can install the package by running `sudo apt install seahorse` and then following these instructions:
63
98
64
-
1. Run `seahorse` in the terminal.
99
+
1. Run `seahorse` in the terminal as a regular user (not as sudo)
To use a broker on the Linux platform, make sure you set the `BrokerOptions` to `OperatingSystems.Linux` as shown in the below code snippet:
111
122
112
-
Reference the [Enable SSO in native Linux apps using MSAL.NET](./linux-dotnet-sdk.md) for information of how to configure the project.
123
+
Reference the [Enable SSO in native Linux apps using MSAL.NET](./linux-dotnet-sdk.md) for information of how to configure the project.
113
124
114
125
To set up a test app, you use the sample app provided in [microsoft-authentication-library-for-dotnet](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) under the path [/tests/devapps/WAM/NetWSLWam/Class1.cs](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/tests/devapps/WAM/NetWSLWam/Class1.cs)
Copy file name to clipboardExpand all lines: msal-dotnet-articles/acquiring-tokens/desktop-mobile/linux-dotnet-sdk.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ An authentication broker is an application that runs on a user’s machine that
32
32
## Prerequisites
33
33
34
34
### .NET Installation
35
+
35
36
Identity integration dependent on having dotnet 8 installed on the Linux distribution, and recommend installing via the [installation script](/dotnet/core/install/linux-scripted-manual#scripted-install).
36
37
37
38
```bash
@@ -41,24 +42,26 @@ chmod +x ./dotnet-install.sh
41
42
```
42
43
43
44
### Package Dependencies
45
+
44
46
Install the following dependencies on your Linux platform:
47
+
45
48
-`libsecret-tools` is required to interface with the Linux keychain
46
-
-`libx11-dev` package, where the `libx11` library is used to get the console window handle on Linux.
49
+
-`libx11-6` package, where the `libx11` library is used to get the console window handle on Linux.
47
50
48
51
### [Ubuntu](#tab/ubuntudep)
49
52
50
53
To install on debian/Ubuntu based Linux distribution:
dotnet run --project tests/devapps/WAM/NetWSLWam/test.csproj
255
258
```
256
259
257
-
## Proof-of-Possession access tokens
258
-
259
-
The Microsoft Single Sign-on for Linux broker allows acquiring PoP tokens for public client flows. For more information about Proof of Possession, see [Proof-of-Possession tokens](../../advanced/proof-of-possession-tokens.md).
260
-
261
260
## Redirect URI
262
261
263
262
Redirect URIs don't need to be configured in MSAL, but they must be configured in the app registration. They should follow the pattern below:
0 commit comments