We’ll store auth data in session, we will not have a database in Paulina
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | LGoto | T403210 Projects and mentors for Wikimedia Outreachy Round 31 | |||
| Resolved | Feature | Nurah_Wakili | T392429 Outreachy 31: Features to edit author and work data on Wikidata directly from Paulina | ||
| Resolved | Nurah_Wakili | T412023 OAuth Implementation |
Event Timeline
Comment Actions
Hello @Pepe_piton and @Nat_WDU, I have opened a PR for this task: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/174.
What's included:
- OAuth login/logout routes with Wikimedia integration
- User interface (login button + dropdown) matching Paulina's design
- Rate limiting for security (The limits can always be adjusted as required)
- Oauth configuration setup guide in README.md
- All strings are translatable and ready for Weblate
I've tested the OAuth flow locally and everything works as expected. Contributors will need to register their own OAuth consumer on Meta-Wiki following the guide I updated in the README. The production tokens only need to be added to the main branch. Looking forward to your review and feedback. I'm ready to address any requested changes. Thanks.