rides-android-sdk
rides-android-sdk copied to clipboard
Not a valid redirect URI for the give
Github issues are for bug reports. If this is a question around usage or understanding please use Stack Overflow. https://stackoverflow.com/questions/tagged/uber-api
Library version: 0.10.x
Repro steps, stacktrace, screenshots:
We want to redirect back to our app, the Uri ("${context.applicationInfo.packageName}.uberauth://redirect"). cannot register in dashboard, when login successfully shows URI not valid
return SessionConfiguration.Builder()
.setClientId("xxxxxx") // if needed, I can pass it privately.
.setRedirectUri("${context.applicationInfo.packageName}.uberauth://redirect")
.setEnvironment(SessionConfiguration.Environment.SANDBOX)
.setScopes(
arrayListOf(
Scope.PROFILE
)
)
.build()
}
Expected Behavior: Redirect back to our own app.
This is the expected behavior if the redirect uri does not match what's registered on the developer dashboard. Do you see any error when registering this redirect uri in the dashboard?