Commit Graph

59 Commits (main)

Author SHA1 Message Date
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2 months ago
techknowlogick f183783baa
Save initial signup information for users to aid in spam prevention (#31852) 2 months ago
Rowan Bohde 416c36f303
allow synchronizing user status from OAuth2 login providers (#31572) 4 months ago
silverwind 610802df85
Fix tautological conditions (#30735) 7 months ago
Jonathan Tran b18c04ebde
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 7 months ago
silverwind 68ec9b4859
Migrate margin and padding helpers to tailwind (#30043) 8 months ago
silverwind 82e102f8b0
Replace more gt- with tw- (#29678) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
wxiaoguang 8be198cdef
Use general token signing secret (#29205) 9 months ago
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172) 9 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
silverwind 1b1c55f73f
Increase auth provider icon size on login page (#27122) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
wxiaoguang c91a7e8dbb
Use `object-fit: contain` for oauth2 custom icons (#26493) 1 year ago
wxiaoguang ed1be4ca68
Handle base64 decoding correctly to avoid panic (#26483) 1 year ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
silverwind a51b115b0a
Use inline SVG for built-in OAuth providers (#25171) 1 year ago
HesterG 63a429581c
Modify OAuth login ui and fix display name, iconurl related logic (#25030) 1 year ago
KN4CK3R 9173e079ae
Add Alpine package registry (#23714) 2 years ago
Lunny Xiao 5cf7da63ee
Refactor config provider (#24245) 2 years ago
zeripath dad057b639
Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
luzpaz 820031e556
Fix typo in source (#20723) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
Gusted 22d266350d
Use `ImagedProvider` for gplus oauth2 provider (#18504) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath bcc13f3889
Reset Session ID on login (#18018) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 0e189eecaa
Move oauth2 error to oauth2 service package (#17603) 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
zeripath 7e98cd58dd
Add SkipLocal2FA option to pam and smtp sources (#17078) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication (#16594) 3 years ago