BDX-town / Mangane

Alternative frontend for Akkoma
https://bdx.town
GNU Affero General Public License v3.0
156 stars 27 forks source link

Single user instance accessed while unauthenticated shows "invalid credentials" error #313

Closed rudism closed 6 months ago

rudism commented 7 months ago

I recently install Mangane on my Akkoma instance (previously using pleroma-fe). I've enabled unauthenticated viewing of profiles and single-user instance in the Mangane settings. I've noticed that when I access it while unauthenticated (in a private window, for example) this invalid credentials error pops up:

image

Looking at the network access tab in debug tools shows it's because it's accessing an endorsements API that seems to throw a 403 error when called while unauthenticated:

image

I'm not sure if it's because of some other configuration I have somewhere--I can't find any mention of endorsements in the admin-fe frontend.

Cl0v1s commented 7 months ago

Thanks for the debug informations you provided, it seems there is a legacy call to that endorsements endpoint that requires user to be authenticated

Cl0v1s commented 6 months ago

fixed in https://github.com/BDX-town/Mangane/pull/320