indiepass-android
indiepass-android copied to clipboard
Expired Token: No prompt for logging in.
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:
- Connect an account to the WordPress setup via IndieAuth
- Wait for token to expire
- Go to main menu > accounts
- Select the refresh icon on the account
- 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
Smartphone
- Device: Fairphone 3
- OS: 18.1-20220620-NIGHTLY-FP3 which corresponds to Android 11
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.