Commit Graph

732 Commits

Author SHA1 Message Date
ErickSkrauch
2a4f29801d Fixes ACCOUNTS-2. Catch decryption exception for OAuth2 flow 2020-08-23 00:23:36 +03:00
ErickSkrauch
503880615a Resolves #9. Implemented host-based blacklist for users emails 2020-08-23 00:04:46 +03:00
ErickSkrauch
89526c39bb
Fixes ACCOUNTS-4 2020-06-25 21:31:32 +03:00
ErickSkrauch
5fbc167708 Fix the case when the redirect_uri is null 2020-06-20 19:10:13 +03:00
ErickSkrauch
b938c62867
Merge pull request #8 from elyby/3_accounts_deletion
Accounts deletion API
2020-06-15 15:53:21 +03:00
ErickSkrauch
fb452901b8 Rework the webhooks table, allow to update exists webhooks 2020-06-14 01:21:19 +03:00
ErickSkrauch
17f1794a4e
Covered all cases, fixed CS, added a new TODO 2020-06-13 01:55:02 +03:00
ErickSkrauch
4ee77636dc
Fixes ACCOUNTS-3. Add extended logging for further investigation 2020-06-13 00:39:02 +03:00
ErickSkrauch
0183e54442
Implemented account deletion. Not all cases covered with tests [skip ci] 2020-06-12 00:27:02 +03:00
ErickSkrauch
c86817a93d
Add deploy to the production step 2020-06-11 14:41:18 +03:00
ErickSkrauch
053e591c3b Implemented deploy stage, allow to manually specify the environment for the Sentry 2020-06-11 01:33:06 +03:00
ErickSkrauch
39d7cad8b5
Fix CS 2020-06-10 17:42:02 +03:00
ErickSkrauch
c18052c323
Upgrade dependencies 2020-06-10 17:38:05 +03:00
ErickSkrauch
295d3a6dc6
Use separate docker service to build images 2020-05-21 16:24:44 +03:00
ErickSkrauch
b52a21c5f2
Try dind image to solve https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4566 2020-05-21 16:19:28 +03:00
ErickSkrauch
a9c3d50ad9
Remove cleanup stage from CI 2020-05-21 16:00:21 +03:00
ErickSkrauch
dd588160b0 Don't use github oauth token while building docker image 2020-05-21 15:26:15 +03:00
ErickSkrauch
1cea0bb174 Fix typos in README 2020-05-21 14:41:29 +03:00
ErickSkrauch
6712471176 Translate readme, add license and some composer.json fields 2020-05-20 02:36:32 +03:00
ErickSkrauch
6f30b9d352 Readme 2020-05-19 01:24:45 +03:00
ErickSkrauch
df700ba408 Merge branch 'config' into 'master' [skip ci]
Fixed docker compose config for db

See merge request elyby/accounts!10
2020-01-17 10:55:43 +00:00
valentinpahusko
a77950a5da Fixed docker compose config for db 2020-01-17 13:20:23 +03:00
ErickSkrauch
09f7818113 Upgrade PHP to 7.4. Update corresponding dependencies. 2019-12-29 18:23:20 +03:00
ErickSkrauch
3e1fb19cf3 Update smtp mail transport configuration 2019-12-29 17:59:58 +03:00
ErickSkrauch
7607248c27 Remove usage of codeception/specify and fzaninotto/faker 2019-12-29 17:55:21 +03:00
ErickSkrauch
43a4a58053 Remove usage of codeception/specify and fzaninotto/faker 2019-12-21 02:26:06 +03:00
ErickSkrauch
666213afc7 Rework email_activation model, get rid of behaviors, use json column to store additional data 2019-12-21 01:23:58 +03:00
ErickSkrauch
22e8158581 Upgrade codeception to 4 version 2019-12-20 22:50:47 +03:00
ErickSkrauch
1c76d2386e Fixes ACCOUNTS-5Z9. Add import statement for Permissions class 2019-12-15 18:33:15 +03:00
ErickSkrauch
b9b62ead12 Fixes ACCOUNTS-5Z8. Use correct relation column for OauthSession 2019-12-15 18:27:31 +03:00
ErickSkrauch
3b00e36816 Fixes ACCOUNTS-5Y5. Also idna escape login part of the email. 2019-12-15 18:13:47 +03:00
ErickSkrauch
3d89e5f94d Fixes ACCOUNTS-5Z7. Search for legacy oauth session by correct column 2019-12-15 18:01:36 +03:00
ErickSkrauch
299637cc13 Strip keys from the scopes list 2019-12-15 17:20:29 +03:00
ErickSkrauch
8d28c7c453 Upgrade patch in the build image before install dependencies 2019-12-15 05:26:45 +03:00
ErickSkrauch
04e399c726 Fix tests 2019-12-15 00:49:54 +03:00
ErickSkrauch
e8b71d33d0 Get rid of mockery library. Still have some troubles with functional tests for api 2019-12-14 00:16:05 +03:00
ErickSkrauch
d9ef27b745 Cleanup code, improve typings 2019-12-13 22:27:13 +03:00
ErickSkrauch
830a17612b Get rid of ThisShouldNotHappenException 2019-12-13 20:48:13 +03:00
ErickSkrauch
26f7d6213f Update dependencies 2019-12-13 20:37:37 +03:00
ErickSkrauch
40eca5b8b6 Remove expires_in field when the access_token isn't expiring 2019-12-13 16:00:51 +03:00
ErickSkrauch
22d8971dc5 Fix redirect_uri validation for the AuthCodeGrant 2019-12-13 15:16:45 +03:00
ErickSkrauch
a8e20a9775 Replace custom aud and ely-scopes JWT claims with its public analogues 2019-12-13 13:56:09 +03:00
ErickSkrauch
274d56aa40 Set expires_in value for issue access token response 2019-12-11 19:44:55 +03:00
ErickSkrauch
14661c2233 Fix manual-migrate command 2019-12-11 15:17:38 +03:00
ErickSkrauch
dcb7345d58 Merge branch 'oauth_jwt_tokens' into 'master'
Make every auth token JWT

See merge request elyby/accounts!9
2019-12-11 12:00:50 +00:00
ErickSkrauch
f06354638e Disallow to perform oauth2 authentication for applications that have no corresponding type 2019-12-11 14:41:37 +03:00
ErickSkrauch
9da58beccf Add deprecation notices 2019-12-11 14:24:31 +03:00
ErickSkrauch
2caf0558de Use paragonie's Base64UrlSafe encoding library 2019-12-11 14:16:11 +03:00
ErickSkrauch
cda4be04a1 Fix condition when to store scopes from redis 2019-12-11 13:23:56 +03:00
ErickSkrauch
3c9050340e Add console command to migrate all oauth sessions scopes data from redis to db 2019-12-11 01:30:12 +03:00