- Home /
I can not get oAuth working on Android App made with Unity3D
I am building an application with Unity3D, but I am facing problems on Android side with oAuth2, whenever I try to get the access token for the authentication, the application can't grab the authorization code from the url, seems like the code get stopped when the browser it's opened for the login.
The code works perfectly on Windows and MAC.
I also tried using embedded webviews but the result I got is pretty similar, browser says that the page is not available. (showing me the URL with the authorization-code that I should store internally).
I Did my own researches and I found that I should use a scheme for the application and register that scheme as a redirect uri in the back-end. But I also found that I have to modify UnityPlayerActivity.java file in the exported project in Android Studio, but I don't know what I have to change in order to make the oAuth works properly. guys can you please help me clarify this last point?
every help is much appreciated!
Your answer
Follow this Question
Related Questions
Google Play Services authentication problem. Failing to sign in ! 6 Answers
Showing Google Play Game Leaderboard UI not working at all 4 Answers
Implement Azure Active Directory Authentication into android/ios project. 3 Answers
Login to Steam from Android app 0 Answers
Google Play Games plugin for Unity Not Authenticating 9 Answers