Skip to content

use http basic auth for /oauth/revoke endpoint#223

Merged
mrashed-dev merged 1 commit into
nylas:mainfrom
mkgs:fix-revoke-token
Jun 21, 2022
Merged

use http basic auth for /oauth/revoke endpoint#223
mrashed-dev merged 1 commit into
nylas:mainfrom
mkgs:fix-revoke-token

Conversation

@mkgs

@mkgs mkgs commented Jun 19, 2022

Copy link
Copy Markdown
Contributor

Current implementation will always return a 401. Use basic auth per the Nylas docs: https://developer.nylas.com/docs/api#post/oauth/revoke

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@mrashed-dev mrashed-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, thanks @mkgs! 🚀

@mrashed-dev mrashed-dev merged commit 07d1ca1 into nylas:main Jun 21, 2022
@mrashed-dev mrashed-dev mentioned this pull request Jun 21, 2022
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.

2 participants