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 62.93.4.179:65179] 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?
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 62.93.4.179:65179] 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.
Michael Vogel •
Felix Bohmann likes this.
Felix Bohmann
Felix Bohmann
Michael Vogel •
Felix Bohmann likes this.
Felix Bohmann
Hypolite Petovan likes this.
Michael Vogel •
I guess that your PHP setup doesn't pass the required HTTP header and I hope that the workaround does work.
API: Added OAuth revoke, adding documentation to parameters by annando · Pull Request #10410 · friendica/friendica
GitHubFelix Bohmann likes this.
Felix Bohmann
Felix Bohmann
2 people like this
Hypolite Petovan and Michael Vogel like this.