twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
72 stars 7 forks source link

[Unity Game Engine Plugin] Faulty Client ID validity check #907

Open Marenthyu opened 5 months ago

Marenthyu commented 5 months ago

Brief description In its currently available public Build, the Unity Game Engine Plugin does a check against the oauth2/token Endpoint, trying to create a client_credentials Token. Due to this, the UI for the SDK will consistently claim that any entered Client ID is "invalid".

How to reproduce

  1. Import the Unity SDK as described in the Docs
  2. Insert a Client ID (or any value)
  3. Observe the "Please enter a valid ClientId!" Status

Expected behavior Valid Client IDs are shown as valid.

Replacing the call to /token with /device and removing the unused query Parameters should be a sufficient replacement as a "quick-fix".

Screenshots

Additional context or questions Thank you @Hasenknopf and @Lyretto for bringing this issue to our attention!