HeyM1ke / ValorantStreamOverlay

500 stars 65 forks source link

Works while using the release build (or through the zip file), but not when in debug mode #164

Closed BadCoffeeBean closed 3 years ago

BadCoffeeBean commented 3 years ago

Version: 1.1.0.5

Using the latest release version of the app, it works (i.e. I can log in using my Riot ID and password.) But when I try to run the code, it shows me this error even though I have entered the correct credentials and region:

error message

That by the way is my modification, but untouched, it only shows that Login is Incorrect...

Do I miss any files for this to work in debug mode?

EDIT: Tried sniffing the GetAuthorization() code and got this reponse:

{"type":"error","error":"invalid_request","error_description":"The \"redirect_uri\" for client play-valorant-web-prod is not registered: https://beta.playvalorant.com/opt_in","country":"phl"}

BadCoffeeBean commented 3 years ago

Nevermind, the URL in Authentication.cs was outdated. It is fixed now.