-
Notifications
You must be signed in to change notification settings - Fork 930
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
Auth: Implement identity deletion #14191
Open
markylaing
wants to merge
15
commits into
canonical:main
Choose a base branch
from
markylaing:delete-identities
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+6,652
−5,745
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
Documentation
Documentation needs updating
API
Changes to the REST API
labels
Oct 2, 2024
markylaing
force-pushed
the
delete-identities
branch
from
October 2, 2024 15:03
1536557
to
b6caec1
Compare
Heads up @mionaalex - the "Documentation" label was applied to this issue. |
markylaing
force-pushed
the
delete-identities
branch
from
October 2, 2024 15:18
b6caec1
to
f7268ec
Compare
hamistao
requested changes
Oct 3, 2024
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.
Thanks for this!
Looks good overall, just left some nits and questions.
Signed-off-by: Mark Laing <[email protected]>
This commit is in preparation for the addition of fine-grained TLS identities. The endpoint for TLS identity creation will be `POST /1.0/auth/identities/tls`. We want this to be separated from the OIDC authentication method because the request body and API responses are specific to TLS authentication. Since the identity is saved in the request context by the access handler, the main work here is updating the `getIdentities` handler to accept an authentication method and return a handler for that method. If no authentication method is given, the handler will return all identities. Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
Signed-off-by: Mark Laing <[email protected]>
markylaing
force-pushed
the
delete-identities
branch
from
October 3, 2024 08:42
f7268ec
to
94ff84e
Compare
hamistao
approved these changes
Oct 3, 2024
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.
LGTM!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
access_management_tls
API extension which will apply to all upcoming changes for TLS fine-grained auth.Note: The licence check was failing in my local static analysis, not sure what's happening there.
Note 2: (I just needed to update it locally 👍).
Closes #13149