You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
6 lines
427 B
PowerShell
6 lines
427 B
PowerShell
$TempFile = New-TemporaryFile
|
|
|
|
& "dotnet" "..\..\..\..\Engine\Binaries\DotNET\OidcToken\portable\OidcToken.dll" "--Service=EpicGames-Okta" "--OutFile" $TempFile.FullName
|
|
$env:curl_auth_header = Get-Content -Raw -Path $TempFile.FullName | ConvertFrom-Json | ForEach-Object { "Authorization: Bearer $($_.Token)" }
|
|
$env:auth_token = Get-Content -Raw -Path $TempFile.FullName | ConvertFrom-Json | ForEach-Object { "$($_.Token)" }
|