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

.native login issue #227

Open
nafetswirth opened this issue Mar 2, 2018 · 13 comments
Open

.native login issue #227

nafetswirth opened this issue Mar 2, 2018 · 13 comments

Comments

@nafetswirth
Copy link

nafetswirth commented Mar 2, 2018

The .native type login all of a sudden stopped working for us today.

We have recently requested the all_trips scope and got it granted. It worked fine for a day but now when we are trying to login it opens the Uber app and does nothing (no redirect no scope approval screen).

This has been working for us for the last 2 or 3 months so I was wondering if the scopes are the issue here or maybe the last Uber update.

SDK version is 0.9.0

Best,
Stefan

@edjiang
Copy link
Contributor

edjiang commented Mar 2, 2018

I can't reproduce this; have you tried force quitting the Uber app and re-opening it? Uber can get stuck in a state where the SSO dialog won't open; it's a known issue and will be addressed in the mid future.

@nafetswirth
Copy link
Author

@edjiang Yes i tried that.
I've had multiple people with the same problem apparently after updating the Uber app.

Uber version is v3.287.10003 if that helps

@edjiang
Copy link
Contributor

edjiang commented Mar 2, 2018

Hm, I'm not able to reproduce even on 3.287.10003.

Is this the case for everyone using your app? Or just some? Is it only for your app? (Try building the sample app on master, for instance)

@nafetswirth
Copy link
Author

nafetswirth commented Mar 2, 2018

The example app works fine but it uses the standard login button.

So i went ahead and tried the standard login button inside our app that had a custom one that uses the underlying LoginManager(loginType: .native).

Turns out the standard LoginButton works fine with the same settings (scopes, clientId etc) as our custom button.

Seems odd to me because as far as i can see the LoginButton just delegates to LoginManager

@edjiang
Copy link
Contributor

edjiang commented Mar 2, 2018

Hm. Can you log the deeplink url being used for both cases? You can email me, [email protected] with more details.

@theonetheycallneo
Copy link

theonetheycallneo commented Nov 15, 2019

We are receiving an error from the Uber SSO

deeplink://error=jwt_creation_failure

Our auth url is:

uberauth://connect?client_id={REDACTED}&client_secret={REDACTED}&login_type=default&third_party_app_name=Freebird Rides Staging&callback_uri_string=freebird://uberSSO&scope=all_trips history places profile offline request request_receipt vouchers.redeem&sdk=ios&sdk_version=3.0.0

Has anyone had problems with this?

https://stackoverflow.com/questions/58868478/uber-sso-errors-with-jwt-creation-failture

@RaytIgor
Copy link

I am facing the same problem as @theonetheycallneo. I have reported the issue in details here:
#262

@austinllach
Copy link

@theonetheycallneo @RaytIgor anyone solve this yet?

@RaytIgor
Copy link

@austinllach no, nothing yet

@RaytIgor
Copy link

@austinllach did you manage to find a work around?

@austinllach
Copy link

austinllach commented Nov 28, 2019

@theonetheycallneo @RaytIgor my contacts told me Uber's backend was being fixed. Pull the latest sdk changes, and ~ Dec 3rd the Uber Rider app will be updated. Then this should be resolved.

@RaytIgor
Copy link

@austinllach thanks a lot for the update!

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

6 participants