mirror of
1
Fork 0
forgejo/services/auth/source/oauth2
Giteabot 65ba5b924f
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30469)
Backport #30375 by @jtran

Cookies may exist on "/subpath" and "/subpath/" for some legacy reasons
(eg: changed CookiePath behavior in code). The legacy cookie should be
removed correctly.

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Kyle D <kdumontnu@gmail.com>
(cherry picked from commit e64926c5193e9ccc30b34f187d96c74d104179ae)
2024-04-21 17:39:14 +02:00
..
assert_interface_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
init.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
jwtsigningkey.go Port "Use general token signing secret" 2024-02-19 20:49:37 +01:00
providers.go Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
providers_base.go Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
providers_custom.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2023-06-08 16:35:29 +00:00
providers_openid.go Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
providers_simple.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2023-06-08 16:35:29 +00:00
source.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
source_authenticate.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
source_callout.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_name.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_register.go Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2023-03-10 01:14:43 -05:00
store.go fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30469) 2024-04-21 17:39:14 +02:00
token.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
urlmapping.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00