-
-
Notifications
You must be signed in to change notification settings - Fork 163
Add OAuth token, introspect, and revoke endpoints #301
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #301 +/- ##
===========================================
+ Coverage 99.51% 100.00% +0.48%
===========================================
Files 7 7
Lines 411 424 +13
===========================================
+ Hits 409 424 +15
+ Misses 2 0 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
408023f to
54184aa
Compare
54184aa to
7c4b89e
Compare
ramnes
left a comment
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 overall, just a few minor points to fix. Thanks!
|
Thanks @Sumeet213! |
#260
Summary
Add support for Notion's OAuth 2.0 endpoints to enable public integrations
and token management.
Changes
OAuthEndpointclass with three methods:token()- Exchange authorization codes or refresh tokensintrospect()- Validate OAuth tokensrevoke()- Revoke OAuth tokens