pfefferle / wordpress-webfinger

A WebFinger plugin for WordPress

Home Page:https://wordpress.org/plugins/webfinger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

return consistent subject value

willnorris opened this issue · comments

currently, the plugin always returns whatever resource URI was included in the WebFinger query as the subject. While this is not necessarily wrong, I think it would be better to have a consistent "primary" identifier that is always returned as the subject, and then include all the others as aliases. I would propose using the acct URI as the subject, but still provide a filter for overriding that.

I thought this was part of the spec some time in the past. Would be way easier to return a generic subject (perhaps with a filter to change it)

I would also prefer the acct uri.