Skip to content

TripIt Login Doesn’t Work On iOS App (Swift) #284

@milica-koprivica

Description

@milica-koprivica

We have an error with the TripIt login flow that’s keeping our users from logging in with your services. Upon providing credentials, instead of logging in an being redirected to the app, users are presented with the sign up page

Please see below the steps we have taken and some information we’re hoping will help you:

  • Get and store unauthorized token and secret
  • Verify that we are using the data we were sent for authorization
  • Guide the user to the constructed TripIt login URL (example: https://m.tripit.com/oauth/authorize?oauth_token=&oauth_callback=&is_sign_in=1)
  • We have also verified that our app handles the URL sent as callback
  • We have an Android app as well and we compared the URL with Android version which is working, but structure is the same, so we don't know why iOS doesn't work..

After we enter our user credentials, we are redirected to the signup page. Our initial guess is for some reason our callback URL is not called after logging in. With this information, is there a way you can identify what’s wrong? We are happy to help with whatever you may need on our end.

Update [17/02/2023]:

  • We have created one more TripIt account today and with that account we managed to successfully log in to TripIt through our iOS integration. We now don't understand what is the difference between these accounts, cause there's nothing special about them...they're just separate TripIt login credentials.

Update [18/04/2023]
After trying several accounts created in Tripit from our app and from the Tripit website, we have come to the following situation:

If the user registers directly through our app, the user can log in both our app and Tripit website, BUT if the user registers from Tripit website, the login does not work in our app. We have created multiple accounts again and the same thing happens. Logins only work if the user registers to TripIt through the app that is being integrated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions