Commit Graph

64 Commits

Author SHA1 Message Date
Bubka
ecd905c36c Apply Pint fixes 2023-12-20 16:55:58 +01:00
Bubka
c5d173f45c Fix user registration via SSO with existing email and name 2023-12-14 15:39:14 +01:00
Bubka
9ff35195f0 Complete SSO (user model, error cases, tests, views) & Add github provider 2023-12-09 17:22:24 +01:00
Bubka
a407f4742e Merge branch 'feature/openid-support' of https://github.com/indykoning/2FAuth into indykoning-feature/openid-support 2023-12-06 09:27:20 +01:00
Bubka
9d72525b38 Make the back-end returns the user email on login/register 2023-11-21 13:45:48 +01:00
Bubka
7efc20e74f Set up the Register view (without webauthn registration) 2023-11-21 13:45:48 +01:00
Bubka
0435cecd53 Adapt back-end to the new front-end auth management 2023-11-21 13:45:47 +01:00
indy koning
160f55fa6b Add support for an openid provider 2023-11-20 23:25:36 +01:00
Bubka
4f81b30fcd Add admin setting to disable user registration - Complete #170 2023-04-28 16:52:04 +02:00
Bubka
ac6c715e9a Apply Laravel Pint fixes 2023-03-26 17:13:32 +02:00
Bubka
fe5dce8d38 Log when user is set as admin during registration 2023-03-24 17:58:29 +01:00
Bubka
140cc70cef Make Login & API throttling editable using the .env file - Close #163 2023-03-17 11:08:03 +01:00
Bubka
9913560787 Enhance logging during authentication (#163) 2023-03-16 15:58:00 +01:00
Bubka
960d1ca5f9 Fix missing login throttling on WebAuthn login controller 2023-03-16 13:23:58 +01:00
Bubka
82717077be Remove invalid calls to the Settings facade 2023-03-15 16:26:32 +01:00
Bubka
4d8180a8c1 Replace the useWebauthnAsDefault option by a client side form toggle 2023-03-15 14:44:51 +01:00
Bubka
f359a1ade3 Fix user preferences not being applied correctly after sign-in 2023-03-15 11:46:37 +01:00
Bubka
dce3d16c37 Apply Laravel Pint fixes 2023-03-10 22:59:46 +01:00
Bubka
4753401827 Prevent last admin deletion & Update the Delete user feature 2023-03-10 16:02:56 +01:00
Bubka
9133436020 Update logs messages 2023-02-27 00:33:42 +01:00
Bubka
c8c1530b51 Apply Laravel Pint fixes 2023-02-25 22:23:38 +01:00
Bubka
ed3a17a4fb Add IDs to logs to identify the user concerned by the logged event 2023-02-21 14:09:36 +01:00
Bubka
5c83e17752 Let the WebAuthn form log in any user 2023-02-21 09:29:05 +01:00
Bubka
90f322f3b1 Set the first user to be an admin 2023-02-20 17:12:24 +01:00
Bubka
2d706e61b7 Apply Laravel Pint fixes 2022-12-13 12:07:29 +01:00
Bubka
65c4bbc496 Apply Laravel Pint fixes 2022-12-09 10:55:11 +01:00
Bubka
05a39b6501 Update tests & minor fixes 2022-12-09 10:53:01 +01:00
Bubka
d6fd8e3c52 Apply Laravel Pint fixes 2022-11-25 15:20:36 +01:00
Bubka
017bbc6304 Replace darkghosthunter/larapass with laragear/webauthn 2022-11-25 15:20:36 +01:00
Bubka
e40e58c0bf Log failed login 2022-10-18 18:51:45 +02:00
Bubka
6276c665a9 Add logs for common Auth actions 2022-10-18 17:34:56 +02:00
Bubka
2123250a5e Fix multiple issues detected by static analysis 2022-09-07 17:54:27 +02:00
Bubka
70c4c271cd Fix some issues detected by static analysis 2022-08-26 16:06:59 +02:00
Bubka
fbb85342c1 Fix #110 - Reset WebAuthn user options after last device revocation 2022-08-10 18:39:41 +02:00
Bubka
3f279f358c Add user logging after WebAuthn authentication - Fix #109 2022-08-02 10:57:16 +02:00
Bubka
e2bfbe5868 Bind TwoFAccountService to Service Container 2022-07-29 19:22:54 +02:00
Bubka
ee22e24cf1 Fix and complete tests 2022-03-31 11:24:02 +02:00
Bubka
5eee3de134 Refactor routes rejection using middlewares 2022-03-31 11:24:02 +02:00
Bubka
cdfda1591b Add possibility to delete the registered user and reset 2FAuth data 2022-03-31 11:24:01 +02:00
Bubka
9b96c5fd70 Code cleaning 2022-03-31 11:24:01 +02:00
Bubka
725c012042 Fix and complete reverse-proxy support & Adjust front-end views 2022-03-31 11:24:01 +02:00
Bubka
f3c6b9da5b Add WebAuthn authentication 2022-03-31 11:24:01 +02:00
Bubka
4ee3557cc1 Refactor login FormRequest and email case sensitive validation rule 2022-03-31 11:24:01 +02:00
Bubka
9ca9fcc9ef Reorganize files to prepare API versioning 2022-03-31 11:24:01 +02:00
Bubka
d6306e5dd0 Use FreshApiToken instead of Personal access token for front-end auth 2022-03-31 11:24:01 +02:00
Bubka
a5514ba06b Refactor Auth controllers : thicker, with Form requests & API resource 2022-03-31 11:24:01 +02:00
Bubka
1a51cf967a Remove useless overrides since json is the default response format 2022-03-31 11:24:01 +02:00
Bubka
297b55f66f Reformat some responses 2022-03-31 11:24:00 +02:00
Bubka
cff545d936 Fix query to return the user even if userId > 0 2020-12-02 23:50:17 +01:00
Bubka
4d6ae849d8 Force lowercase on email to prevent capitalization issue with SQLite 2020-12-02 23:48:16 +01:00