Closed djarcas closed 5 years ago
One thing we've seen in the past is this one: https://github.com/mixer/interactive-unity-plugin/issues/88
You could try re-creating the OAuth token.
Good call! Sadly, it hasn't made any difference.
I'll give it a try now and see if I'm able to get a code.
Just tried was able to get a token. I guess you could:
Trying to obtain a new OAuth token. This is an expected and repeated call. UnityEngine.Debug:Log(Object) Microsoft.Mixer.InteractivityManager:_Log(String, LoggingLevel) (at Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs:3906) Microsoft.Mixer.InteractivityManager:TryGetTokenAsync() (at Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs:501) Microsoft.Mixer.InteractivityManager:OnInternalCheckAuthStatusTimerCallback(Object, InternalTimerCallbackEventArgs) (at Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs:496) MixerInteractiveHelper:CheckAuthStatusBackgroundWorkerDoWork(Object, DoWorkEventArgs) (at Assets/MixerInteractive/Source/Scripts/MixerInteractiveHelper.cs:449) System.ComponentModel.BackgroundWorker:ProcessWorker(Object, AsyncOperation, SendOrPostCallback)
ac9a2ba2206cc30e60c2dcdebde91342a7db8079df1b1148 with VersionID 304167
Resolved!
At https://mixer.com/lab/oauth there's TWO buttons, identically labelled 'Let's create one!'
The top one gives me a useless key. The bottom one (which has a different dialogue, talking about Secret keys), however, has given me a key that's working. Someone might want to revisit that page!
Great!
It's quite likely that I'm doing something wrong, but I'm at a loss to see where - I've follow the tutorial, setup a scene, setup the OUTH, applied that in Unity, but OnRequestRefresheShortCodeCompleted() is bringing back "invalid_client" and a HTTP 400 error.
If I change the "OAuth Client ID" to something other than what the Mixer website gives me, then I get a "client not found", so I assume that part is correct. Changing the Version ID doesn't seem to affect anything.
Ideas or help welcome.