This is a follow-up issue for #16278 and an additional bug discovered when viewing a post with a comment box that needs authentication.
Ticket: 4003515-zd-woothemes
Expected behavior
For issue reported in #16278, the user expects to be logged in to the webview since they're already logged in to the app. Also, they should be able to comment on the post that requires authentication without the need to log in twice on the same post.
Actual behavior
We need to log in twice to be able to like and comment on the same post through webview.
Steps to reproduce the behavior
- Go to Reader, select a post that has a custom domain mapped to the site and with the comment box option "Users must be registered and logged in to comment" enabled.
- Open up the post on webview.
- Tap the "Like" button and see the log in prompt.
- Log in with WordPress.com account.
- Tap the "Like" button again and see the action is registered.
- Scroll down to the comment box and notice I need to log in again to comment.
- Tap the log in link to login with WordPress.com.
- Now I can comment on the post.
- Close the app and repeat step 1 again. Notice that I need to log in again to like and comment.
It was also worth noting that the user who reported the issue was sometimes seeing the same notice requesting a log in to comment even after they performed step 7. You can see more description of the issue in the blog post linked in the ticket.
Screen recording: https://d.pr/v/X8NyDF/UaukldCFYM
Tested on iPhone SE, iOS 14.5.1, WPiOS 17.3
This is a follow-up issue for #16278 and an additional bug discovered when viewing a post with a comment box that needs authentication.
Ticket: 4003515-zd-woothemes
Expected behavior
For issue reported in #16278, the user expects to be logged in to the webview since they're already logged in to the app. Also, they should be able to comment on the post that requires authentication without the need to log in twice on the same post.
Actual behavior
We need to log in twice to be able to like and comment on the same post through webview.
Steps to reproduce the behavior
It was also worth noting that the user who reported the issue was sometimes seeing the same notice requesting a log in to comment even after they performed step 7. You can see more description of the issue in the blog post linked in the ticket.
Screen recording: https://d.pr/v/X8NyDF/UaukldCFYM
Tested on iPhone SE, iOS 14.5.1, WPiOS 17.3