mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 12:52:44 -05:00
[GH-ISSUE #116] Cannot get this to work. #1676
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Arrmm on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/116
I followed the exact steps below.
I even followed the guide in
docker-compose.alt.ymland I even created.envand set theBETTER_AUTH_SECRET.Docker compose worked fine, pull down the container, launched it, and I managed to create a new account and able to log in.
However, when I use another browser to log in, it says "Invalid origin". Obviously I know the email and password since I just created the account.
And then what's more interesting is that on the browser that I originally created the account, I can't sign out from clicking the top right button and select Logout. Nothing happens. I remain logged in.
As the result I cannot proceed to set up github and gitea since I cannot reliably log in and out of gitea-mirror. Can someone point out what I did wrong?
@Arrmm commented on GitHub (Oct 14, 2025):
Looks like i figured it out. I ended up referring to #63 and added both
BETTER_AUTH_URLandBETTER_AUTH_TRUSTED_ORIGINSto.env, and that fixed the problem.@arunavo4 commented on GitHub (Oct 15, 2025):
Yea I will update the readme and the docker compose to add these vars
@arunavo4 commented on GitHub (Oct 22, 2025):
I have updated the
docker-compose.alt.ymlto better solve this