OAuth login, View Repositories and Commits
To begin with, Check out this link : https://developer.github.com/apps/building-oauth-apps/
- To create OAuth app
- Get CLIENT_ID & CLIENT_SECRET
- Set REDIRECT_URI
Make these changes in your code
-
Replace fields CLIENT_ID, CLIENT_SECRET & REDIRECT_URI with your app values
-
In your Manifest file, modify the intent-filter
<data android:host="HOST" android:scheme="SCHEME" />
If your REDIRECT_URI is yourapp://yourcallback,
<data
android:host="yourcallback"
android:scheme="yourapp" />