Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a valid redirect URI for the give #190

Open
paperkiteSonny opened this issue Feb 8, 2023 · 1 comment
Open

Not a valid redirect URI for the give #190

paperkiteSonny opened this issue Feb 8, 2023 · 1 comment

Comments

@paperkiteSonny
Copy link

paperkiteSonny commented Feb 8, 2023

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.

@lalwani
Copy link
Collaborator

lalwani commented May 19, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants