Sign inSign up

streemtech/twitchfix

By streemtech

•Updated about 6 years ago

Image
0

552

streemtech/twitchfix repository overview

⁠GITHUB

This container is based on a project hosted on github: streemtech:twitchfix License: GPL v3

⁠Twitchfix

Twitch.tv has chosen to only partially comply⁠ with the OIDC/Oauth RFC. This library's goal is to act as a mutation proxy that takes twitch's response and converts them to library compatible responses.

This is not a library for use in other programs, only a program to act as an in-between for other OIDC programs.

⁠Quickstart

The container can be run with the standard docker way.

docker run --name streemtech/twitchfix -p 8284:8284 twitchfix

⁠Usage

Twitchfix currently only handles the second half of the oidc authorization code flow, the POST commands to https://id.twitch.tv/oauth2/token⁠, which are steps three and four of the documentation.

To Use twitchfix in your library, instead of using the link provided by twitch, use an http request to the /oauth2/token endpoint with ip and port of twitchfix. For example, http://192.168.100.123:8284/oauth2/token. The client ID and Secret are not required by twitchfix, and should only be required by your third party library.

While there should not be any issue with doing so, twitchfix should NOT be exposed to the internet, and ideally should be as close as possible to the library/service making calls to twitchfix.

⁠Future Goals

  • Implement HTTPS
    • Loading of Certs
    • Creation of certs if they don't exist
  • Implement config file
    • Endpoint
    • Http(s)
    • Port
    • Log Level
  • Logging (currently use labstack/echo default logging)
  • Dockerfile that compiles internally

Tag summary

Content type

Image

Digest

Size

5.9 MB

Last updated

about 6 years ago

docker pull streemtech/twitchfix