rides-android-sdk icon indicating copy to clipboard operation
rides-android-sdk copied to clipboard

Not a valid redirect URI for the give

Open paperkiteSonny opened this issue 2 years ago • 1 comments

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()
}
image

Expected Behavior: Redirect back to our own app.

paperkiteSonny avatar Feb 08 '23 20:02 paperkiteSonny

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?

lalwani avatar May 19 '23 07:05 lalwani