IndiePass / indiepass-android

An open social app with support for IndieWeb, Mastodon, Pleroma and Pixelfed.
https://indigenous.marksuth.dev
GNU General Public License v3.0
104 stars 7 forks source link

Expired Token: No prompt for logging in. #441

Open hoschi-it opened 1 year ago

hoschi-it commented 1 year ago

Describe the bug Afte account token expiration, the app does not give an option to get a new token, but only gives an error message.

To Reproduce Backend infrastructure:

Steps to reproduce the behavior:

  1. Connect an account to the WordPress setup via IndieAuth
  2. Wait for token to expire
  3. Go to main menu > accounts
  4. Select the refresh icon on the account
  5. See error "Error getting configuration. Status Code: 401; message: {"code": "invalid_token

Expected behavior I expect to be prompted to re-authenticate or at least being able to do so via button/icon on the accounts detail screen.

Screenshots

87fc5cd2-d971-4347-b395-9c9c48ff978c

19e7654e-b4c3-44f0-b54f-77284364857f

Smartphone

betodealmeida commented 4 months ago

I have the same issue. I had to manually increase the expiration of the access token associated with IndiePass in order to make it work.