Skip to content

[v17] Azure DevOps token source and validator (#54667)#54836

Merged
strideynet merged 2 commits intobranch/v17from
strideynet/v17/backport-54667
May 16, 2025
Merged

[v17] Azure DevOps token source and validator (#54667)#54836
strideynet merged 2 commits intobranch/v17from
strideynet/v17/backport-54667

Conversation

@strideynet
Copy link
Copy Markdown
Contributor

Backports #54667

* Initial impl of token source

* Add initial token validator implementation

* add join attrs for azure devops

* Switch to Zitadel OIDC

* Embed zoidc.TokenClaims into main IDTokenClaims struct

* Add notes on caching

* Expand concept of token validator

* Start hacking on test suite

* JoinAttrs method

* Fix TestIDTokenValidator_Validate suite

* Update OIDC doc to match real one

* Add TestIDTokenSource

* go mod tidy

* rearrange go.mod

* fix  query params

* RepositoryReference -> RepositoryRef

* Switch to azuredevops

* Adjust struct init

* Update lib/azuredevops/token_validator.go

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

---------

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
@strideynet strideynet added the no-changelog Indicates that a PR does not require a changelog entry label May 15, 2025
@strideynet strideynet enabled auto-merge May 16, 2025 10:14
@strideynet strideynet added this pull request to the merge queue May 16, 2025
Merged via the queue into branch/v17 with commit e8e8275 May 16, 2025
41 checks passed
@strideynet strideynet deleted the strideynet/v17/backport-54667 branch May 16, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/lg

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants