Expired Token: No prompt for logging in. #441

Open
opened 2023-10-23 18:03:03 +02:00 by hoschi-it · 1 comment
hoschi-it commented 2023-10-23 18:03:03 +02:00 (Migrated from github.com)

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
**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](https://github.com/IndiePass/indiepass-android/assets/20945369/ea36cb79-3751-4a96-abb8-4b938ed468b0) ![19e7654e-b4c3-44f0-b54f-77284364857f](https://github.com/IndiePass/indiepass-android/assets/20945369/d71c068d-892e-4c9e-a726-2058912d3bdc) **Smartphone** - Device: Fairphone 3 - OS: 18.1-20220620-NIGHTLY-FP3 which corresponds to Android 11
betodealmeida commented 2024-07-06 14:24:20 +02:00 (Migrated from github.com)

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.

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.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/indiepass-android#441
No description provided.