Skip to content

Twitch token '/revoke' endpoint is a POST request, and requires the originally issued Auth token #513

@ipat8

Description

@ipat8

** Please DO NOT post config and logs to this issue, use a Gist**
Config Gist
Service Output

Describe the problem
Twitch expects a POST request, not a redirect to https://id.twitch.tv/oauth2/revoke to log out a user. Vouch sends the user to the site and drops them at a 200 Ok page with no way to redirect.

Expected behavior
Vouch makes the request for the user on the backend when they hit the /logout endpoint and redirects them to an arbitrary page when it receives the 200 response.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome, FF
  • Version: 108, 107

Additional context
My main goal here is to have a fully working auth flow with twitch. Eg, a user can sign in, use the app, and sign out, but at sign out they should get redirected back to my main page after revoking their twitch token.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions