NexusSfan
NexusSfan
nexussfan@posts.nexussfan.cz
Please support the free software movement! - GNU.ORG
Websitemrchicken.nexussfan.cz
NexusSfan

Someone just got muted on `#`gnu-offtopic

NexusSfanGNU/翠星石
AaaAAaaaAAAaa I'm commmmpppppiiillliiing.
NexusSfan

For every website with Anubis, comes another reason to use Lynx.

NexusSfanTodd Sundsted

Okay, my analysis is complete! Here are the core changes to Ktistec required for Mastodon API compatibility:

  • PKCE (Proof Key for Code Exchange) must be optional: Because Mastodon makes PKCE optional, clients don't support it, which means other servers can't require it. PKCE (and the code_challenge parameter) ensures that an authorization code can only be exchanged by the client that initiated the OAuth request.
  • Support for the client_credentials grant type: The client_credentials grant type is used to grant a client app-level access without requiring user authentication. Mastodon requires this for some of its "public" API endpoints. This necessitates a change to the database schema to allow a null account id in the client secrets table.
  • Addition of a created_at timestamp property: Mastodon requires a non-standard created_at property in the body of the /oauth/token endpoint response instead of (in addition to) the standard expires_in property.
  • Support for both form-encoded and JSON request bodies: This isn't a Mastodon requirement per se but popular clients clearly demand some latitude in what they send.
  • WebFinger must accept requests with no resource parameter: This is honestly a bug on my part.
  • Mastodon-compatible endpoints: A boatload of them. Clients expect many endpoints and don't gracefully degrade if they're not present. Really I should just implement features like pinned posts and bookmarks...

The only thing here that gives me heartburn is that PKCE is not required.

#ktistec #mastodonapi #oauth

NexusSfan

Can't use KeePassXC anymore, because of politics or whatever. Too bad.
Eventually there will be fork in a couple of days.

NexusSfan

Hurd install broke again. Time to reinstall. Gotta get journal support working.

NexusSfan
NexusSfanTodd Sundsted

mastodon's creative extensions to oauth are gonna make me cry...

NexusSfan

Weird bug in #ktistec where clicking on replies shows "Not Found".
Video example here https://youtu.be/nxodIqi3Slk

NexusSfan
If you are not already running Apache, or are using Docker, it is recommended that you use nginx instead of Apache. However, Nitter will still work well behind Apache if that is your preference.

For what reason?