indiepass-android icon indicating copy to clipboard operation
indiepass-android copied to clipboard

Expired Token: No prompt for logging in.

Open hoschi-it opened this issue 1 year ago • 1 comments

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:

  • WordPress 6.3.2
  • Plugins that might interfere somewhere:
    • IndieAuth 4.3.0
    • IndieWeb 4.0.1
    • Micropub 2.3.0
    • WebSub 3.1.3
    • Yarns Micropub Server 1.1.0

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

  • Device: Fairphone 3
  • OS: 18.1-20220620-NIGHTLY-FP3 which corresponds to Android 11

hoschi-it avatar Oct 23 '23 16:10 hoschi-it

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.

betodealmeida avatar Jul 06 '24 12:07 betodealmeida