Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Mellard committed Oct 8, 2020
1 parent cd81391 commit f1438c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
func GetRegistryRefreshTokenFromAADExchange(serverURL string, principalToken *adal.ServicePrincipalToken, tenantID string) (string, error) {

err := principalToken.EnsureFresh()
fmt.Printf("access_token=%s", principalToken.Token().AccessToken)
if err != nil {
return "", fmt.Errorf("error refreshing sp token - %w", err)
}
Expand Down

0 comments on commit f1438c7

Please sign in to comment.