[BUG] V1 PWA Forgets Credentials -403 Error

by ADMIN 44 views

[BUG] V1 PWA forgets credentials -403 Error

As a user of the LNbits platform, you expect a seamless experience when interacting with your wallet, especially when it comes to saving your credentials for future use. However, with the recent upgrade to version 1, some users have reported an issue where the PWA (Progressive Web App) forgets their credentials, resulting in a 403 error. In this article, we will delve into the details of this bug, its reproduction steps, and the expected behavior.

Since upgrading to v1, users have noticed that they have to sign back in almost every day. This is particularly frustrating when using the LNbits PWA on their Home Screen on iOS devices. The screen that appears is the 403 Error, indicating that the user's credentials are not being recognized.

On the previous version, 0.12, users did not experience this issue, and their access tokens were remembered for a longer period. This raises questions about the changes made in version 1 and how they affect the PWA's ability to remember user credentials.

To reproduce this behavior, follow these steps:

Step 1: Create a Wallet in v1

  • Create a new wallet in version 1 of LNbits.
  • Make sure to save your credentials, including your access token.

Step 2: Save to Home Screen (PWA) on iOS

  • Save the LNbits PWA to your Home Screen on your iOS device.
  • This will allow you to access the PWA directly from your Home Screen.

Step 3: Wait 1 Day

  • Wait for at least 24 hours to pass.
  • This will allow the PWA to potentially forget your credentials.

Step 4: Open PWA and Observe 403 Error

  • Open the LNbits PWA on your Home Screen.
  • You should see a 403 error, indicating that your credentials are not being recognized.

The expected behavior is that the access token is remembered in the PWA for a longer period. Since it's an PWA, users could expect it to never expire. This would provide a seamless experience for users, allowing them to access their wallet without having to sign in every day.

The impact of this bug is significant, as it affects the user experience and makes it difficult for users to access their wallet. A workaround for this issue is to sign in every day, but this is not a sustainable solution and defeats the purpose of having a PWA.

The [BUG] V1 PWA forgets credentials -403 Error is a significant issue that affects the user experience of LNbits. By following the reproduction steps outlined above, users can experience this issue firsthand. The expected behavior is that the access token is remembered in the PWA for a longer period, but this is not the case in version 1. We hope that this article has provided valuable information and insights into this bug, and we look forward to seeing a resolution in future updates.

  • LNbits version: V1
  • [BUG] V1 PWA forgets credentials -403 Error
  • [FEATURE] Implement PWA login persistence
  • [BUG] PWA login not working on iOS

We hope that the development team will address this issue in future updates. In the meantime, users can continue to experience the frustration of having to sign in every day. We encourage users to provide feedback and report any issues they encounter, as this will help to improve the overall user experience.

We invite the community to participate in the discussion and provide feedback on this issue. Your input and suggestions are invaluable in helping to resolve this bug and improve the LNbits platform.

We would like to thank the LNbits development team for their hard work and dedication to improving the platform. We also appreciate the community's involvement and feedback, which is essential in helping to resolve this issue.
[BUG] V1 PWA forgets credentials -403 Error: Q&A

In our previous article, we discussed the [BUG] V1 PWA forgets credentials -403 Error, a significant issue that affects the user experience of LNbits. In this Q&A article, we will address some of the most frequently asked questions related to this bug and provide additional information to help users understand the issue.

A: The cause of the PWA forgetting your credentials is not yet clear. However, it is believed to be related to changes made in version 1 of LNbits. The development team is currently investigating the issue and working on a solution.

A: You have to sign in every day because the PWA is not remembering your access token. This means that each time you open the PWA, you are required to sign in again.

A: Yes, this issue is specific to iOS devices. However, it is possible that the issue may also affect other devices, such as Android devices.

A: Yes, you can use a different browser to access your wallet. However, keep in mind that the PWA is designed to provide a seamless experience, and using a different browser may not provide the same level of functionality.

A: The development team is currently working on a solution to this issue. However, it is difficult to predict when the issue will be fixed. We recommend keeping an eye on the LNbits GitHub repository and documentation for updates on this issue.

A: Yes, you can help the development team fix this issue by providing feedback and reporting any issues you encounter. Your input and suggestions are invaluable in helping to resolve this bug and improve the LNbits platform.

A: To minimize the impact of this issue, you can try the following:

  • Sign in every day to ensure that you have access to your wallet.
  • Use a different browser to access your wallet.
  • Provide feedback and report any issues you encounter to the development team.

A: The development team is currently exploring options for a workaround for this issue. However, it is difficult to predict when a workaround will be available.

A: We do not recommend using third-party solutions to resolve this issue. Instead, we recommend waiting for the development team to provide a solution or workaround.

The [BUG] V1 PWA forgets credentials -403 Error is a significant issue that affects the user experience of LNbits. We hope that this Q&A article has provided valuable information and insights into this bug. We users to provide feedback and report any issues they encounter, as this will help to improve the overall user experience.

  • LNbits version: V1
  • [BUG] V1 PWA forgets credentials -403 Error
  • [FEATURE] Implement PWA login persistence
  • [BUG] PWA login not working on iOS

We hope that the development team will address this issue in future updates. In the meantime, users can continue to experience the frustration of having to sign in every day. We encourage users to provide feedback and report any issues they encounter, as this will help to improve the LNbits platform.

We invite the community to participate in the discussion and provide feedback on this issue. Your input and suggestions are invaluable in helping to resolve this bug and improve the LNbits platform.

We would like to thank the LNbits development team for their hard work and dedication to improving the platform. We also appreciate the community's involvement and feedback, which is essential in helping to resolve this issue.