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

Login Loop #84

Closed
zoglesby opened this issue Jun 17, 2018 · 8 comments
Closed

Login Loop #84

zoglesby opened this issue Jun 17, 2018 · 8 comments
Labels

Comments

@zoglesby
Copy link

After the last update my phone is stuck in a loop logging into my site. The app asks for a URL again, I provide it, login in, auth, get the message that it was good, and then I am taken back to the page asking for a URL. It was working fine prior to the most recent update, and is still working on another device.

The device that it is not working on in a Note 8 with Android 8.0 with the May 2018 security patches. Let me know if you need more info to troubleshoot this.

@swentel
Copy link
Collaborator

swentel commented Jun 17, 2018

So the other device works fine .. interesting. I'll see if there are known problems with Note 8.

Couple of questions/tests:

  • can you try clearing the data in the Applications overview screen for Indigenous, maybe it's stuck because old data is still around.
  • Also, when you authenticate, and everything is fine (as in the message 'Authentication succesful' is printed), do you see an account in the accounts overview screen on your device (where you would also see your google accounts or instance) ? That's the major change at the with the latest release.
  • one last thing: do you have a microsub endpoint too, or is it only for posting ?

@zoglesby
Copy link
Author

  1. I have tried this and I did not help
  2. The account is in the systems accounts list
  3. I also have a microsub endpoint, running my own instance of Aperture

@swentel
Copy link
Collaborator

swentel commented Jun 17, 2018

Ok, good to know that the account is in the accounts list, that at least gives me a good pointer to figure out the problem, or a solution :)

Thanks for that information!

@swentel swentel added the bug label Jun 17, 2018
@ngm
Copy link

ngm commented Sep 7, 2018

I'm experiencing the same issue described here. It seems like I auth successfully but I end up back on the authentication screen.

I see the messages:

  • Validating code
  • Authentication successful
  • Syndication targets saved (I think, something similar anyway!)

To answer the previous questions:

  • I have cleared the app data but it didn't solve the issue
  • I see the Indigenous account in the accounts overview screen
  • I don't currently have a microsub endpoint (I plan to add one soon though :) )

@swentel
Copy link
Collaborator

swentel commented Sep 7, 2018

Interesting, so for some reason the user is not saved in the user data accounts.

Emulator tests don't fail on this, but I /think/ I have a workaround, will ship a potential solution over the weekend normally.

swentel added a commit that referenced this issue Sep 7, 2018
@swentel
Copy link
Collaborator

swentel commented Sep 7, 2018

So I've added something that hopefully fixes the issue.

When you open the app, on the sign in screen you should see a button which allows you to set an account. You should also see something like 'No default account was set, you can select one by pressing the "Set account" button'. If that isn't there, something else is wrong, but then I have no idea atm.

New release pushed, should be available in a couple of hours.

@ngm
Copy link

ngm commented Sep 7, 2018

It worked! Amazing, thanks so much for resolving :)

(my first note via Indigenous - https://doubleloop.net/2018/09/07/3376/)

@swentel
Copy link
Collaborator

swentel commented Sep 7, 2018

Awesome!

I've added this to the README - I should probably add this to the site as well.

@swentel swentel closed this as completed Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants