New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Azure OIDC testing #1127
base: main
Are you sure you want to change the base?
Conversation
…g Assembly reference to a unique class
…ove token exchange from AzureScripting
…loy/Calamari into isaac/azure-oidc-auth
…loy/Calamari into isaac/azure-oidc-auth
db676d1
to
80d6d1d
Compare
This reverts commit ddf9396.
@@ -44,7 +44,7 @@ function setup_context { | |||
|
|||
if [ -n $Octopus_Open_Id_Jwt ] | |||
then | |||
echo "Azure CLI: Authenticating with OpenID Connect Access Token" | |||
echo "Azure CLI: Authenticating with OpenID Connect Federated Token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this to be consistent with the other messages.
? await (account as AzureOidcAccount).GetAuthorizationToken(CancellationToken.None) | ||
: await (account as AzureServicePrincipalAccount).GetAuthorizationToken(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplifies the method calls. Also makes it easier for the discovery endpoint to travel downstream.
c3e65df
to
b2380c9
Compare
This reverts commit 6cbe7bc.
This PR does 2 main things:
Also some minor code improvements I found along the way.