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

Fix revoke_session by including authorization headers #283

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

mthadley
Copy link
Contributor

Description

We should have been passing auth: true in order authorization headers to be included in the request. Since this method was already broken and would have never returned successfully, I also updated it to return a boolean like our other methods which where the API doesn't have a meaningful response payload.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@mthadley mthadley requested a review from cmatheson April 11, 2024 22:44
@mthadley mthadley merged commit 76a23cf into main Apr 11, 2024
4 checks passed
@mthadley mthadley deleted the fix-auth-for-user-management-revoke-session branch April 11, 2024 23:03
@mthadley mthadley mentioned this pull request Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants