Skip to main content

mastodon clients with 2021.06-rc

!Friendica Admins

moin *!

i am experimenting with a friendica instance, right now i am testing the mastodon api with various ios clients, but i cant get past the login. there seems to be issues related to oauth, or authentication in general. i get logs like these:

when trying to accept the useage agreement on mercuro for mastodon after what seems to be a successful login and app connect:

2021-06-16T17:14:16Z index [NOTICE]: Unhandled request field {"parameter":"scope","value":["read","write","follow","push"],"command":"oauth\/token"} - {"file":"BaseApi.php","line":155,"function":"getRequest","uid":"a984fe","process_id":451063}

or with metatext, login is ok, app is connected, but then i get http 401 with this:

[Wed Jun 16 17:21:40.117648 2021] [php7:notice] [pid 450931] [client] PHP Notice: Undefined offset: 1 in /var/www/html/friendica/src/Security/BasicAuth.php on line 128

is that something that is just not working/tested yet, or is that some configuration error on my side?

Friendica Admins reshared this.

Have you tried one of the clients that had been tested successfully?
i did not find any info about which ones those are. could you point me in the right direction?
nevermind, i found the api md in the docs. i will give that a read first.
Ensure to have the latest version of the RC where the list of supported clients in the FAQ.
found the faq, updated my instance, got some new files since this afternoon, yet, amaroq and b4x will also not properly log in. im running out of time today, will get back to it tomorrow.
Please wait for this PR to be accepted:

I guess that your PHP setup doesn't pass the required HTTP header and I hope that the workaround does work.
thanks for the reply, will keep an eye on it. i will also look into my php config.
amaroq and b4x started working after pulling the merged #. yay.