zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
198 stars 137 forks source link

Read display_name value to work with Wordpress OAuth providers #365

Closed tduboys closed 1 year ago

tduboys commented 1 year ago

Using CustomOauth2 and CustomOpenID providers with wordpress does not retrieve user display name. Wordpress is using display_name keyword on WPUser datas, and it's the one exposed by OAuth providers plugins.

I'm just adding this value as alternative if not found. Tested with https://wp-oauth.com/ plugin

Thanks for your work !

tduboys commented 1 year ago

After other tests, this setting can be defined on the plugin configuration, so, this PR is not useful… :)