Sorry, I don’t have a use-case example because I’m just checking for feasible solutions for a refactoring project.
I inherited a legacy CodeIgniter application which serves about a dozen blog-like websites simultaneously through the same instance. The stakeholders are keen on WP for content management and a number of other reasons, and it would simplify the primary application to delegate that and other non-critical functionality to WP (I’m not a WP developer). Most of the blog sites require paid subscription, also currently managed by the CI app. For the refactor, I’m considering a two-part solution:
- Rails API and admin interface which handles core business logic, subscriptions and centralized authentication.
- WP Multi-site instance for content management, custom plugin(s) for interacting with the central API
Since subscribers have a single set of credentials for all the blogs, I was hoping to use OAuth for authenticating against the API, then fetching customer account and subscription info.
It may be simpler, though, to simply use WP as the system of record for the user objects and authentication and simply fetch associated subscription & account information that is managed in the central app. Regardless, I’m exploring different options and wanted to check if OAuth would be an appropriate solution. Make sense?
Thanks,