WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

WordPress.com authentication via web view

Open crazytonyli opened this issue 1 year ago • 3 comments

Implement WordPres.com's oauth2 flow. At the moment it's only used when self-hosted site user tries to log in WordPress.com from the Me tab.

To test: Add a self-hosted site to the Jetpack app, go to the Me tab, and tap the "Log in" button.

Regression Notes

  1. Potential unintended areas of impact

  2. What I did to test those areas of impact (or what existing automated tests I relied on)

  3. What automated tests I added (or what prevented me from doing so)

PR submission checklist:

  • [ ] I have completed the Regression Notes.
  • [ ] I have considered adding unit tests for my changes.
  • [ ] I have considered adding accessibility improvements for my changes.
  • [ ] I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing checklist:

  • [ ] WordPress.com sites and self-hosted Jetpack sites.
  • [ ] Portrait and landscape orientations.
  • [ ] Light and dark modes.
  • [ ] Fonts: Larger, smaller and bold text.
  • [ ] High contrast.
  • [ ] VoiceOver.
  • [ ] Languages with large words or with letters/accents not frequently used in English.
  • [ ] Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • [ ] iPhone and iPad.
  • [ ] Multi-tasking: Split view and Slide over. (iPad)

crazytonyli avatar Aug 27 '24 22:08 crazytonyli

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr23521-bd4ecce
Version25.3
Bundle IDorg.wordpress.alpha
Commitbd4ecce4e649808069a33de93b4f335926a18451
App Center BuildWPiOS - One-Offs #10553
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

wpmobilebot avatar Aug 27 '24 22:08 wpmobilebot

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr23521-bd4ecce
Version25.3
Bundle IDcom.jetpack.alpha
Commitbd4ecce4e649808069a33de93b4f335926a18451
App Center Buildjetpack-installable-builds #9594
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

wpmobilebot avatar Aug 27 '24 22:08 wpmobilebot

I tested it in a simulator and it worked really well. I'm looking forward to when it's integrated in the main flows so I could test it with passkeys.

kean avatar Aug 28 '24 18:08 kean