-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
## Installation | ||
|
||
### Using WSL | ||
|
||
On a modern Windows system with WSL2 (verified, WSL1 **might** work) | ||
`oidc-agent` can be used through WSL: | ||
|
||
- If not already done install WSL according to https://learn.microsoft.com/en-us/windows/wsl/install | ||
- Add the `oidc-agent` repo and install according to http://repo.data.kit.edu for your chosen distribution | ||
- Add `eval $(oidc-agent-service use)` to your `.bashrc` | ||
- Now `oidc-agent` and friends can be used from the WSL and windows shell as | ||
used to, e.g. | ||
|
||
```shell | ||
# From WSL | ||
oidc-token <shortname> | ||
|
||
# From Powershell | ||
wsl oidc-token <shortname> | ||
``` | ||
|
||
### "Native" Installer | ||
|
||
We provide an installer for oidc-agent | ||
at: [http://repo.data.kit.edu/windows/oidc-agent/](http://repo.data.kit.edu/windows/oidc-agent/). | ||
|
||
The installer will install all necessary binaries and libraries and oidc-agent is ready to use. | ||
The installer will install all necessary binaries and libraries and oidc-agent is ready to use. | ||
|
||
We recommend to use the WSL method instead and only use this is installer if | ||
WSL is not possible. | ||
It is likely that support for this installer is dropped in the future. |