scripting / feedlandInstall

Instructions for setting up a FeedLand server.
GNU General Public License v3.0
3 stars 1 forks source link

Logging in with WordPress #45

Open scripting opened 8 months ago

scripting commented 8 months ago

I've been working up to this for a couple of months, starting with the wpidentity package, and then adding WordPress verbs to Drummer, now -- this is where it was leading -- using WordPress identity to log into FeedLand.

Here are the update notes. Mostly you have to create a new app at wordpress.com and add it to your config.json file.

Initially there is no user interface for this. I want to think about that a bit and get feedback from users. I'll probably add something to the Tools menu after doing this release. But I want to think about how we might reorganize the login screen. It can be quite a bit simpler when we're building off another app's identity system.

You can also turn this feature off, with a new config setting, flAllowWordpressIdentity. It defaults true.

New versions

The packages that changed in this release were: feedland, daveappserver and wpidentity, versions 0.6.11, 0.7.9 and 0.4.11.

fmfernandes commented 8 months ago

It would be nice adding an upgrade instruction similar to this one because when I upgraded to FeedLand 0.6.11 it throws an error when trying to log in with WordPress because the apps JSON column in the users table is new. Couldn't find any mention to it on the update notes but maybe I missed something.

scripting commented 8 months ago

I’ll fix that in the morning, but apps has been around for a long time, but I could have missed it, that would be a bug, plain and simple. This is why this testing is so important.

scripting commented 8 months ago

@fmfernandes -- just checked and there was a worknote on the apps column added to the users table.

That was in May of this year, pretty sure that was before you got involved in the project.

The feature was added for the FeedLand Platform, and an app I was working on which was codenamed Mark Twain but eventually became Textcaster, which I use every day to do my linkblog. I plan to roll that out sometime after we settle in on FeedLand. ;-)

It can post to a variety of different social nets, including BlueSky, Mastodon and WordPress. It uses apps to store the login info for each of the apps.

I needed a place to store info for WordPress for the login feature, and remembered that apps was the perfect place for it.

I will write some more docs for it tomorrow because it is an interesting feature and I plan to use it for lots of expansion stuff esp for the platform.