ErickSkrauch
cd27d6e7f1
Furthermore improve reverse proxy security
2026-11-04 00:07:21 +01:00
ErickSkrauch
91737face0
Deduplicate aliased scopes and compare them correctly while deciding about when to auto approve client
2026-11-03 19:37:46 +01:00
ErickSkrauch
0df199c6e7
Allow any redirect_uri for oauth clients with no redirect_uri (set only via direct db modification)
2026-11-03 03:54:57 +01:00
ErickSkrauch
5a5122e29e
Fix flaky totp test
2026-11-03 03:34:21 +01:00
ErickSkrauch
692741e992
Fix redirect uri validation for web applications, that is actually desktops because they need to redirect to localhost
2026-11-03 03:19:54 +01:00
ErickSkrauch
b1769ab451
Add support of issuer in the authorization response (RFC 9207)
2026-11-03 02:18:31 +01:00
ErickSkrauch
a217b5225e
Explicitly deny support of the request OIDC method
2026-11-03 02:18:31 +01:00
ErickSkrauch
db4a292d24
Implemented OIDC support
2026-11-03 02:18:31 +01:00
ErickSkrauch
e9f53b2155
Introduce oauth jwks endpoint
2026-11-02 18:36:01 +01:00
ErickSkrauch
1dee7f54a3
Introduce oauth discovery endpoint
2026-11-02 16:59:25 +01:00
ErickSkrauch
1a0071f424
Implemented revoke token endpoint
2026-11-02 16:39:03 +01:00
ErickSkrauch
e220f70b8d
Remove custom description support
2026-11-02 16:13:35 +01:00
ErickSkrauch
9c0858922e
Remove auto approve from device code grant
2026-11-02 16:07:54 +01:00
ErickSkrauch
f7f43c1190
Revoke OAuth 2 tokens on account password change.
...
List all authenticated OAuth clients, revoke by deleting
2026-11-02 16:07:53 +01:00
ErickSkrauch
978e5ecf6a
Improve PKCE authentication security
2026-11-02 15:17:40 +01:00
ErickSkrauch
e779f96a70
Include verification uri complete into device code flow response
2026-11-02 15:17:40 +01:00
ErickSkrauch
86992565c5
Don't expose internal permissions names as scopes in the JWT tokens and overall improve scopes management
2026-11-02 15:17:40 +01:00
ErickSkrauch
c4c35fb6b2
Improve OAuth standard compatibility
2026-11-02 12:35:06 +01:00
ErickSkrauch
a1b482dbe7
Fix invalida concatenation of the redirect_uri
2026-11-02 02:57:28 +01:00
ErickSkrauch
77aa7b0422
Improve security of OAuth flow
2026-11-02 02:43:43 +01:00
ErickSkrauch
26df580e12
Expose counterMax for altcha challenge
2026-10-22 00:25:45 +02:00
ErickSkrauch
b59ec2e84f
Yes, I forgot to check CI
2026-10-20 12:55:14 +02:00
ErickSkrauch
bbd0d13d88
Remove legacy options param so recaptcha can be disabled
2026-10-20 12:49:22 +02:00
ErickSkrauch
8542e787bd
Fix PHPStan
2026-10-19 22:35:07 +02:00
ErickSkrauch
5b0c4c6917
Implemented Altcha support
2026-10-19 22:25:05 +02:00
ErickSkrauch
b8c730c207
Add metrics for captcha providers
2026-10-04 00:43:58 +02:00
ErickSkrauch
b88d2cc2f6
Implemented multiple captchas support. Implemented Yandex Smart Captcha support
2026-10-02 13:39:02 +02:00
Octol1ttle
c8341a6cb5
Fix missing profiles endpoints
...
Closes #59
2026-05-19 19:52:44 +05:00
Octol1ttle
db02dcf992
style: rename cests to match routing action names
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2025-03-03 22:23:24 +05:00
Octol1ttle and ErickSkrauch
5225ea1b02
Update Mojang API response code and messages, implement UUID->Username endpoint ( #47 )
...
* Update Mojang API response code and messages, implement UUID->Username endpoint
* php-cs-fixer
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* review: address the minor issues
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* try to implement legacy response support (all tests are failing (routing is broken))
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* well that was 10x easier
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* fix: php-cs-fixer
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* Fix PHPStan errors and update tests for authlib-injector entrypoint. Final polishing before merge
---------
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru >
2025-03-01 01:08:52 +01:00
ErickSkrauch
bc59fd91ca
Fix PHPStan errors
2025-02-14 16:26:14 +01:00
ErickSkrauch
997f135d2d
Merge remote-tracking branch 'octol1ttle/fix-authlibinjector-route'
...
# Conflicts:
# api/config/routes.php
2025-02-14 16:08:52 +01:00
ErickSkrauch
4a0fd68df2
Merge pull request #46 from Octol1ttle/add-new-username-to-uuid-endpoint
...
update: add new username->UUID endpoint
2025-02-14 16:03:55 +01:00
Octol1ttle
884c11f98f
fix: use correct service route for authlib-injector's lookup/bulk/byname
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2025-02-14 15:26:25 +05:00
Octol1ttle
8c82f45764
new: add minecraftservices' Username->UUID endpoint
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2025-02-14 15:22:43 +05:00
ErickSkrauch
be4697e6eb
Extract login logics into a separate component. Not quite clean result but enough for upcoming tasks
2025-01-17 21:37:35 +01:00
ErickSkrauch
1c2969a4be
Implemented desktop application type
2025-01-15 14:13:08 +01:00
ErickSkrauch
e5b395d11b
Fix verb filter
2024-12-24 17:45:49 +01:00
ErickSkrauch
6105d9752c
Fix CS
2024-12-24 12:25:39 +01:00
Octol1ttle
5f6dc35e3b
Update IndexCest.php
2024-12-24 16:15:17 +05:00
Octol1ttle
5a4895dbc4
Update AuthlibInjectorController.php
2024-12-24 16:13:25 +05:00
ErickSkrauch
1c11c66b9c
Rename device code endpoint to /devicecode
2024-12-24 01:20:58 +01:00
ErickSkrauch
085b4f5ca6
Fix CS
2024-12-17 23:12:57 +01:00
ErickSkrauch
05524a4e7c
Fix E2E scopes response
2024-12-17 23:08:55 +01:00
ErickSkrauch
119a0f8078
Validate user_code expiry during the Device Code grant.
...
Add mock responses related to the Device Code grant.
2024-12-14 18:55:31 +01:00
ErickSkrauch
2cc27d34ad
Implemented device code grant
2024-12-08 16:54:45 +01:00
ErickSkrauch
5ed6f0ce86
Move OAuth module from API to common and solve PHPStan's errors
2024-12-06 01:34:09 +01:00
ErickSkrauch
8a25ff9223
Fix timestamp serialization format for JWT tokens
2024-12-03 18:17:42 +01:00
Octol1ttle and ErickSkrauch
57d492da8a
Upgrade project to PHP 8.3, add PHPStan, upgrade almost every dependency ( #36 )
...
* start updating to PHP 8.3
* taking off!
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru >
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* dropped this
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* migrate to symfonymailer
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* this is so stupid 😭
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* ah, free, at last.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* oh, Gabriel.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* now dawns thy reckoning.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* and thy gore shall GLISTEN before the temples of man.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* creature of steel.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* my gratitude upon thee for my freedom.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* but the crimes thy kind has committed against humanity
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* Upgrade PHP-CS-Fixer and do fix the codebase
* First review round (maybe I have broken something)
* are NOT forgotten.
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
* Enable parallel PHP-CS-Fixer runner
* PHPStan level 1
* PHPStan level 2
* PHPStan level 3
* PHPStan level 4
* PHPStan level 5
* Levels 6 and 7 takes too much effort. Generate a baseline and fix them eventually
* Resolve TODO's related to the php-mock
* Drastically reduce baseline size with the Rector
* More code modernization with help of the Rector
* Update GitLab CI
---------
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru >
2024-12-02 11:10:55 +01:00
ErickSkrauch
625250b367
Fixes #35 . Make clientToken optional during legacy Minecraft auth flow
2024-11-24 10:25:22 +01:00