YunoHost-Apps / gitea_ynh

Gitea is a fork of Gogs. A git platform, Mirror of https://framagit.org/YunoHost-Apps/gitea_ynh
https://gitea.io
MIT License
22 stars 17 forks source link

Browser warnings related to macaron_flash cookie #75

Open rodinux opened 1 year ago

rodinux commented 1 year ago

Describe the bug

When I sign in (by LDAP) I can't see a raw file, nor an image

Context

Steps to reproduce

Expected behavior

See a raw file without need be disconneted or remove cookies and datas from my browser

Logs

/var/log/gitea/router.log

2023/06/08 18:01:55 [6481fb73] router: completed GET /Linux07/Documentations-Linux07/commit/9f8bd64e84513baf1fe50535418cf06b830ff21b?style=split&whitespace=ignore-change for 185.191.171.6:0, 200 OK in 45.7ms @ repo/commit.go:254(repo.Diff)
2023/06/08 18:03:08 [6481fbbc] router: completed GET /Services-Linux07-Technique/Configs_Apps/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/opensondage.md for 37.169.22.158:0, 401 Unauthorized in 2.3ms @ auth/middleware.go:16(auth.Auth)
2023/06/08 18:03:27 [6481fbcf] router: completed GET /Services-Linux07-Technique/Configs_Apps/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/opensondage.md for 37.169.22.158:0, 401 Unauthorized in 1.9ms @ auth/middleware.go:16(auth.Auth)

/var/log/gitea.log

2023/06/08 18:07:53 ...s/auth/middleware.go:18:func1() [E] [6481fcd9] Failed to verify user: user does not exist [uid: 1, name: myuser, keyid: 0]
2023/06/08 18:08:07 ...s/auth/middleware.go:18:func1() [E] [6481fce7] Failed to verify user: user does not exist [uid: 1, name: myuser, keyid: 0]
rodinux commented 1 year ago

Sreenshots

cookie-macaron Capture d’écran du 2023-06-08 18-10-54

rodinux commented 1 year ago

Perhaps also related to another issue I want post also about admin page disappear... there is an old issue similar on gitea there https://github.com/go-gitea/gitea/issues/24062

rodinux commented 1 year ago

also if I disconnect from the portal sso, immediatly the image or raw is reload ! it seems related to the sso portal.