Optionally, we can give the App registration an Application ID URI. Choose App Registrations from the menu on the left.In the following steps we’ll configure an App Registration in AAD with an App Role that allows the Managed Identity to fetch a token to use Perforce. The Managed Identity flow is essentially a JWT flow. Trust the new connection to this Perforce instance:.P4 set P4LOGINSSO="c:\temp\get-token.cmd %ssoArgs%" $metadata = Invoke-WebRequest "$resource” -Headers = $metadata.Content | ConvertFrom-Json Create another file in that folder, called get-token.ps1 with the following contents:.Powershell.exe -file "?tchPath%get-token.ps1" %* Create a new file in that folder, called get-token.cmd with the following off
0 Comments
Leave a Reply. |