Opened 10 years ago

Closed 5 years ago

#721 closed enhancement (maybelater)

Allow to act as a oAuth Provider

Reported by: shelob9's profile Shelob9 Owned by:
Milestone: Priority: normal
Component: API Keywords:


I'd like to propose that I be able to authenticate on another site using my account. Let me explain two use cases:

Use Case 1: To enable allowing plugin/ theme ratings from the WordPress admin
If we could remote login to from our own WordPress admin, then it would make sense to add an endpoint to the API to set a rating, that could be POSTed to from the plugin & theme admin pages in WordPress.

Use Case 2: Improve wpackagist:
I want to write a fork of (well really I want @nikv to do it) where I can login and set an official GitHub repo for my plugin. That way in a composer.json file a user can specify the development version of my plugin. The issue is how do I make it so only an admin of that plugin can make that determination? I can check their username against the{slug}.json endpoint of the API, but only once I've verified they really are that user, which would require authenticating against

Change History (3)

This ticket was mentioned in Slack in #meta-i18n by ocean90. View the logs.

9 years ago

#2 @swissspidy
9 years ago

Also worth noting this article by Ryan McCue:

I see the benefits of being an OAuth provider, but I guess for your use case #2 you could also use the email addresses to validate users. For now, at least.

#3 @tellyworth
5 years ago

  • Resolution set to maybelater
  • Status changed from new to closed

This is definitely something we should implement at some point. But it's better handled as part of a specific project that requires it. I'm closing it as maybelater to indicate that it's still on the cards, and we'll revisit when we have the resources for a project of this size.

Note: See TracTickets for help on using tickets.