wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
338 stars 129 forks source link

Apache Module mod_auth_basic #174

Closed matthijssmeets closed 3 years ago

matthijssmeets commented 5 years ago

What a great tool.

I can't manage to connect to a website protected by HTTP Basic Authentication. Does anyone have a solution for that?

ThomasPe commented 5 years ago

The support for basic authentication was removed a while back due to the unsafe way it was implemented back then. Perhaps we could look into supporting this again, @polushinmk thoughts?

polushinmk commented 5 years ago

According to https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/ Basic Authentication is not recomended to use by WP REST API developers. I think we shouldn`t add support of it to core but may be we should refactor our authentication mechanism to provide an ability to extent it with own implementations

ThomasPe commented 3 years ago

I’m closing this issue because it has been inactive for a while. Please feel free to reopen if you still encounter this issue. Thanks!