Send state parameter to oauth server to redirect to steam login

This commit is contained in:
Gabriel Calero 2018-11-09 16:12:18 -03:00
parent 7687eb9948
commit 4f4239f3c9

View file

@ -289,7 +289,8 @@ public class LoginFragment extends Fragment
}
private void updateOauthState() {
mOauthState = Long.toString(new Random().nextLong());
// as we only use oauth for steam that's ok for now
mOauthState = "steam-" + Long.toString(new Random().nextLong());
}
private String buildAuthorizeUrl() {