What type of client to choose

Hi, to publish an app to the app store, do I need to use the client type “private” or “public” when creating the client id in the twitch api panel? (my app uses the twitch login integration)

There isn’t an ‘App Store’ on Twitch so I’m not sure what you’re referencing in that regards. If you’re referring to some other platforms app store such as Apple, or Google, then use whichever client type is appropriate for your use case.

As for Public or Confidential client types, Public is primarily for used with the Device Code Flow (DCF) where the entire OAuth process is handled entirely client-side, with no server. This does have some downsides though, such as no Client Secret so you wont be able to have server-side capabilities running from an App Token from the Client Credentials flow, while also properly utilizing DCF client-side.

Confidential Apps on the other hand do have a Client Secret, and are designed to be used with the Auth Code or Implicit OAuth flows where with the Auth Code flow you’ll have a webserver that’s able to handle the redirect and code exchange portion of the OAuth process to get access tokens, or with the Implicit flow it’s handled within a web page you’re running and the access token is returned in the URL hash to the user.