Skip to content
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

[OIDC 2] Add federated credential entities (no DB change yet) #10252

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

joelverhagen
Copy link
Member

Progress on #10212.
Depends on #10251.

This adds Entity Framework entities for federated credentials. There are two new tables:

  1. FederatedCredentialPolicy - this is a set of criteria that a user can provide as an acceptable pattern of credentials for authenticating as their user. For example, a policy would could be "allow this specific Entra ID service principal to push packages on my behalf".
  2. FederatedCredential - a record of federated credentials that were accepted by a federated credential policy. This is only used to prevent token replay.

A future PR will introduce the DB migration.

@joelverhagen joelverhagen requested a review from a team as a code owner November 7, 2024 16:10
zhhyu
zhhyu previously approved these changes Nov 11, 2024
Base automatically changed from jver-oidc-ship to dev November 11, 2024 22:22
@joelverhagen joelverhagen dismissed zhhyu’s stale review November 11, 2024 22:22

The base branch was changed.

@joelverhagen joelverhagen merged commit f9a22db into dev Nov 12, 2024
2 checks passed
@joelverhagen joelverhagen deleted the jver-oidc-ship-2 branch November 12, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants