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

自分が許可している指定したOAuthクライアントのアクセストークンを全てRevokeできるようにする #2477

Merged
merged 5 commits into from
Jul 12, 2024

Conversation

YuHima03
Copy link
Contributor

@YuHima03 YuHima03 commented Jul 6, 2024

resolve #1092

  • /api/v3/clients/:clientID/tokens (DELETE) を作った
  • マージ後に、フロント側の実装のissueを立てたい

Copy link
Contributor

@kaitoyama kaitoyama left a comment

Choose a reason for hiding this comment

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

nice!

Copy link
Contributor

Choose a reason for hiding this comment

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

権限がないケースについてもテストがあっても良いように思いました

Copy link
Contributor Author

Choose a reason for hiding this comment

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

権限がないケースというのは、ログインしていない状態でリクエストを投げた場合のことでしょうか?

Copy link
Contributor

Choose a reason for hiding this comment

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

そうですね
(仕組み的に、他の人のトークンをRevokeするようなリクエストはそもそも作れないですよね?)

@YuHima03 YuHima03 requested a review from kaitoyama July 11, 2024 06:52
Copy link
Contributor

@kaitoyama kaitoyama left a comment

Choose a reason for hiding this comment

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

LGTMです!

@ikura-hamu ikura-hamu merged commit 29a5796 into traPtitech:master Jul 12, 2024
10 checks passed
@YuHima03 YuHima03 deleted the issue-1092 branch July 12, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants