uber / uber/rides-android-sdk

Not a valid redirect URI for the give

Open
#190 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
293
Forks
132
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report uses SessionConfiguration.Builder in the Android SDK 0.10.x and describes a redirect URI rejected by the dashboard. Start by checking the SDK's redirect URI handling and the dashboard's accepted format, using the supplied URI and login steps. Done means the URI is accepted and login redirects back to the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.