Closed froyomuffin closed 7 years ago
Just needed to register the fork to OAuth at https://github.com/settings/applications/new
Then, PocketHub can be made aware of our App's clientID and client secret via: GITHUB_CLIENT=your_application_client_id GITHUB_SECRET=your_application_client_secret GITHUB_CALLBACK=your_callback_url
The callback_url should match the same callback scheme set when registering the app on github
Full details at: https://developer.github.com/v3/oauth/
Re-opened. I think I'm using the callback wrong. It's just opening github mobile in the app.
I got the same problem!!
On Sep 29, 2015, at 10:29 PM, froyomuffin notifications@github.com wrote:
Re-opened. I think I'm using the callback wrong. It's just opening github mobile in the app.
— Reply to this email directly or view it on GitHub https://github.com/ChunxiaZhang/Toaster/issues/11#issuecomment-144262481.
Got it. So the callback url must be set (on both github and in github.properties) to pockethub://
That's it. This value is read by app/gradle.build and will automatically update the @string scheme resource in AndroidManifest.xml during build.
Reopen for tracking
Compile and get the app to work. Either on actual device or in android emulator. Currently, there's an authentication issue.