Discussion: API Key for Android - Help

Hi, I wanted to create an API Key that I intend to use for an Android app, but I don't know what to write in the Auth Redirect URI field or which Auth Modes and Auth Scopes I should enable. I would appreciate any help.
Kuukie:

For the Redirect URI, create your own custom URI scheme (example: glitchandroidsdk://auth)

Auth mode should be set to token.
Auth scope should be set to the max scope that you'll be using in your app. API methods require different scopes based on what type of interaction they have with Glitch. See more info about scopes here: http://developer.glitch.com/docs/scopes/
Thanks, now I can start Tinkering :)
I've tried this, following the sample app that comes in the SDK, but after I log in and hit "allow", I just get a "you do not have permission to open this page [my custom URI}#access_token=......"
Gdiddy: You'll need to add a data element to your intent filter in your AndroidManifest.xml like so:

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="glitchandroidsdk"/>
</intent-filter>

Replace "glitchandroidsdk" with your own custom URI scheme.

See the sample AndroidManifest.xml here: https://github.com/tinyspeck/glitch-android-sdk/blob/master/sample/AndroidManifest.xml
Aha! That's the missing piece of info I needed!  Thank you Brady!
:( No dice.  I've basically followed everything in the example, and I'm still getting the permission error.  I created an API key using my own scheme name.  I changed the Manifest to match, and I put the URI in the code.
Is the permission error happening in your Android browser?

Check that you have permissions set in your Android manifest like below:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Also, be sure to validate that you have the same redirect URI set up here: http://developer.glitch.com/keys/
It's happening in the browser.  It never redirects back to the app.

Both of those use-permission entries are there, and I used the same URI in my key.  And I'm using the right key.

It logs in, it gives me the "Allow/Deny" option, then after that, the no permission error in the browser.