Skip to content

feat: Admin API for deleting access token of a client#2058

Merged
aeneasr merged 5 commits intoory:masterfrom
ajanthan:master
Sep 20, 2020
Merged

feat: Admin API for deleting access token of a client#2058
aeneasr merged 5 commits intoory:masterfrom
ajanthan:master

Conversation

@ajanthan
Copy link
Contributor

Related issue

#1728

Proposed changes

Introduced a new admin API for deleting tokens of a client. The API is in the following format

DELETE <hydra-admin>/oauth2/tokens?client_id=...

Checklist

  • I have read the contributing guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further comments

I haven't generated the documentation since my local copy was changing the format of the existing contents. If that is ok I can run the doc gen task and commit the generated docs.

@CLAassistant
Copy link

CLAassistant commented Sep 17, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@zepatrik zepatrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks good 👍
I think the only thing that's missing is tests for the storage.

@ajanthan
Copy link
Contributor Author

Thank you, this looks good 👍
I think the only thing that's missing is tests for the storage.

Added a new test for the storage

@ajanthan ajanthan requested a review from zepatrik September 17, 2020 21:04
Copy link
Member

@zepatrik zepatrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@ajanthan ajanthan requested a review from aeneasr September 19, 2020 16:35
Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🎉

Thank you for your contribution!

@aeneasr aeneasr merged commit 077c54a into ory:master Sep 20, 2020
zepatrik added a commit that referenced this pull request Sep 21, 2020
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.

4 participants