-
Notifications
You must be signed in to change notification settings - Fork 971
Implement token revocation public api #7745
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
* Implement revokeAccessToken * Fix token unit tests * Move ENDPOINT.TOKEN to /api/index.ts * Add unit tests * Set tenantId and remove redirectUri * Run doc generation and fix Lint errors * Remove unspecified token type
🦋 Changeset detectedLatest commit: 0a26819 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Changeset File Check ✅
|
Size Analysis Report 1This report is too large (249,383 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
@@ -514,6 +519,26 @@ export class AuthImpl implements AuthInternal, _FirebaseService { | |||
}); | |||
} | |||
|
|||
/** | |||
* Revokes the given access token. Currently only supports Apple OAuth Access token. |
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.
* Revokes the given access token. Currently only supports Apple OAuth Access token. | |
* Revokes the given access token. Currently only supports Apple OAuth access tokens. |
packages/auth/src/core/index.ts
Outdated
@@ -245,6 +245,14 @@ export function signOut(auth: Auth): Promise<void> { | |||
return getModularInstance(auth).signOut(); | |||
} | |||
|
|||
/** | |||
* Revokes the given access token. Currently only supports Apple OAuth Access token. |
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.
* Revokes the given access token. Currently only supports Apple OAuth Access token. | |
* Revokes the given access token. Currently only supports Apple OAuth access tokens. |
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 based on Kevin's review, thanks!
* Implement revokeAccessToken public api (#7541) * Implement revokeAccessToken * Fix token unit tests * Move ENDPOINT.TOKEN to /api/index.ts * Add unit tests * Set tenantId and remove redirectUri * Run doc generation and fix Lint errors * Remove unspecified token type * Clean up demo app * Add changeset * Update changeset * Fix refdoc comments * Run yarn docgen devsite
Currently only supports Apple OAuth Access token revocation.