You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Use OIDCToken executable that is already in the p4 tree Also no longer outputting a text file from updateAuthHeader but instead updating env. variable [CL 18235527 by Joakim Lindqvist in ue5-main branch]
4 lines
350 B
PowerShell
4 lines
350 B
PowerShell
$TempFile = New-TemporaryFile
|
|
|
|
& "dotnet" "..\..\..\..\..\Engine\Restricted\NotForLicensees\Binaries\DotNET\OidcToken\portable\OidcToken.dll" "--Service=EpicGames-Okta-Jupiter" "--OutFile" $TempFile.FullName
|
|
$env:curl_auth_header = Get-Content -Raw -Path $TempFile.FullName | ConvertFrom-Json | ForEach-Object { "Authorization: Bearer $($_.Token)" } |