Open melissaboiko opened 1 year ago
Different from #178 because I can in fact access /settings/applications
and create an access token, but the apps' workflow with URL redirects still fail. Also not like #120 in that the curl tests return redirects to login without any error.
OAUTH_ENABLED=true
is set on.env
.I ran
artisan passport:install
as well asartisan passport:client --personal
(plus the routes, views and config cache). I restarted all services and tried cleaning app data.The Pixelfed app, after accessing my server, redirects back to the starting screen without any messages. Pixeldroid does the same, with a message "could not authenticate".
The only log I could find in the server is not an error but just the nginx access:
I can log in via the browser (Fennec) normally, and the browser has a logged in session in the cookies. Fennec requires confirmation before following the oauth redirect url scheme. Thinking that this might upset some timing, I tried the system browser, but it does not suport the oauth redirect url scheme. My Android distro is incompatible with Google Chrome, so I tried Brave Browser. it does follow the redirect instantly, but that didn't solve the Pixelfed oauth issue.
Not sure if related but:
SESSION_DRIVER=cookie
which is the only workaround I could find to #106 .I can login to my instance via webpage. Oauth appears to work on both apps for the default instance. Pixelfed v0.11.7.