Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user login implementation #5

Open
Gmarvis opened this issue Aug 11, 2024 · 0 comments
Open

user login implementation #5

Gmarvis opened this issue Aug 11, 2024 · 0 comments

Comments

@Gmarvis
Copy link
Collaborator

Gmarvis commented Aug 11, 2024

User Login implementation

implement user login using the OAuth service on Wikimedia

Objective

users should be able to log in successfully using their Wikimedia account

Technical implementation steps

  1. The developer must register the application (often called "consumer" in the OAuth terminology) on the wiki, possibly go through some sort of review process, and will receive some credentials.
  2. When a user wants to use it, the application must initiate an authorisation process. This will involve sending the user to a special page on the wiki, which will display an authorisation dialog. If the user accepts, the application will receive another set of credentials (which are specific to that user, and can be revoked by the user at any time).
  3. When the application actually needs to make an action (API request) on the user's behalf, it can combine the credentials received in steps 1 and 2 to sign the request.
Gmarvis added a commit that referenced this issue Aug 28, 2024
Gmarvis | user login implementation using wikimedia oauth2 and passport-mediawiki-oauth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant