perrybutler / WP-OAuth

A WordPress plugin that allows users to login or register by authenticating with an existing Google, Facebook, LinkedIn, Github, Reddit or Windows Live account via OAuth 2.0. Easily drops into new or existing sites, integrates with existing users.
GNU General Public License v2.0
97 stars 76 forks source link

Revision suggestion: DRY #59

Open jasonkhanlar opened 7 years ago

jasonkhanlar commented 7 years ago

Revision suggestion: DRY, prepare static HTML to be generated dynamically via wpoa_generate_login_section() function whilst also accounting for potential unique capabilities for each OAuth service provider (showing content before and/or after the main options).

I would like to add Discord OAuth capabilities to this WordPress plugin, but first I thought it may be useful or helpful to provide this revision.

Thoughts?