Commit Graph

45 Commits (165346c15c6d021028a65121e692a17ffc927e2c)

Author SHA1 Message Date
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 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
mscherer 04c55e97a2
Fix code formating (#17830) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods (#17735) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Michael Grigoryan 47448083a1
Minor readability patch. (#17627) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 0e189eecaa
Move oauth2 error to oauth2 service package (#17603) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 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
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
zeripath 123f0aea00
Allow LDAP Sources to provide Avatars (#16851) 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 db6b7db06d
Improve LDAP synchronization efficiency (#16994) 3 years ago
zeripath f394019e9d
Report the associated filter if there is an error in LDAP (#17014) 3 years ago
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication (#16594) 3 years ago
zeripath a75b2f2842
Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 3 years ago
KN4CK3R 88abb0dc8a
Decoupled code from DefaultSigningKey (#16743) 3 years ago
Aliaksandr Mianzhynski 28ac4a7a87
Add EdDSA JWT signing algorithm (#16786) 3 years ago
John Olheiser 648464b504
Add bundle download for repository (#14538) 3 years ago
zeripath 7f85610942
Fix openidConnect source regression from #16544 (#16759) 3 years ago
KN4CK3R 0bd58d61e5
Added introspection endpoint. (#16752) 3 years ago
techknowlogick 37d0d94843
Use github token URL when fetching oauth token (#16709) 3 years ago
zeripath 162c32af7e
Send registration email on user autoregistration (#16523) 3 years ago
zeripath e29e163737
Improve SMTP authentication and Fix user creation bugs (#16612) 3 years ago
zeripath ab9bb54144
Add microsoft oauth2 providers (#16544) 3 years ago
zeripath 72738f0cb5
Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564) 3 years ago
zeripath 6a33b290a0
Fix add authentication page (#16543) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
techknowlogick 29a22ade82
switch to maintained lib (#16532) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago