How to correctly pass the Client Secret

Hello!

I’ve read through the FAQ and the documentation for the twitch API.
I understand fully that I should not share my Client Secret with anyone else but myself.

The problem is that I am working on an application that I intend to distribute to the public for free, and that means I must also encrypt the key so that it may not be data mined.

I am an intermediate level hobbyist that have never dealt with any type of encryption before, and therefore I am wondering if anyone could help point me in a good direction, maybe some official documentation if that exists?

For reference I am currently using TwitchLib with a C# application.

Thanks in advance!

Best regards,
Timmy.

For this sort of application you would either:

  • Use implicit auth to login a user as that only requries the clientID
  • Ask the user to priovde their own cleintID/clientSecret

You can’t really store it encrypted as you need to decrypt it to use. So theres no docs for this since you just use implict auth instead.

1 Like

Thank you so much, Barry!

Now that I have the name of the workflow needed for my application I could actually find it in the API documentation. If anyone stumbles across this question in the future via google, please refer to:

Thank you again for the quick and professional reply.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.