baranovskypd / goodpress

WIP!! :warning: R Package to Write Posts from R Markdown to Wordpress :warning:
https://maelle.github.io/goodpress/
Other
34 stars 5 forks source link

support other authentication plugins? #9

Closed maelle closed 1 year ago

maelle commented 4 years ago

I do not want this package to support basic authentication because WordPress docs themselves say it should only be used for development (and because it's easier I'm afraid some people might use it in production).

Other plugins mentioned in the docs

maelle commented 4 years ago

Note that the README mentions creating a special user for using the package, with editor rights rather than admin rights. It makes the application password less powerful.

I can imagine it might be a problem for some users though: since it's a different author than some other posts, it might not appear on the author page that the user would like.

mdingemanse commented 1 year ago

This issue seems to have become obsolete? The plugin you originally used has folded into WordPress core and (to my amazement I must say) everything worked beautifully out of the box.

maelle commented 1 year ago

Does it mean the docs need to be updated?

mdingemanse commented 1 year ago

I think so, yes. On mobile, so not in position to do so, but since WP 5.6 there are application passwords that can be made and revoked by the user on a per-application basis: https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/

This is what I'm using, just following the instructions (i.e. putting in ~Renviron), and it just works — so no plugin needed.

maelle commented 1 year ago

Thanks! Would you be willing to make a PR?