Commit Graph

60 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
provokateurin 1b4722c330
fix(oauth2): Limit allowed grant_type values in getToken 4 months ago
Richard Steinmetz 246da73a36
fix(oauth2): retain support for legacy ownCloud clients 9 months ago
Côme Chilliet 75f8bb51ed fix: Rename config option to skipAuthPickerApplications to match what it does 12 months ago
Côme Chilliet e7be008dc1 feat(oauth2): Skip page before login as well for authorized applications 12 months ago
provokateurin 085d4c9364
refactor(OpenAPI): Adjust scopes to match previous behavior 12 months ago
provokateurin 381077028a
refactor(apps): Use constructor property promotion when possible 1 year ago
Côme Chilliet 1a4978c4ea
chore: Apply rector configuration to apps folder 1 year ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Julien Veyssier 034917b790
fix(oauth2): store hashed secret instead of encrypted 1 year ago
Artur Neumann cc44ec54ad invalidate oauth2 tokens only for seen users 1 year ago
provokateurin d8adbce1be refactor(oauth2): Replace security annotations with respective attributes 1 year ago
Andy Scherzinger cc1686dba9
chore: Add SPDX header 2 years ago
Côme Chilliet eee9f1eec4 Always catch OCP versions of authentication exceptions 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Julien Veyssier d56950a6c9
adjust phpdoc types in OauthApiController 2 years ago
Julien Veyssier c6da99474e
rename oauth2_access_token's created_at to code_created_at 2 years ago
Julien Veyssier 779e1d51ac
delete oauth access token when receiving a code that has expired 2 years ago
Julien Veyssier 1ab45bad5d
refuse oauth authorization code if a token has already been delivered (active token) 2 years ago
Julien Veyssier 7bba410997
cleanup access tokens that are still in authorization state and that have expired 2 years ago
Julien Veyssier 2995b0948f
add tests for oauth2 authorization code expiration 2 years ago
Julien Veyssier 807f173dec
make oauth2 authorization code expire after 10 minutes 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
jld3103 1c19c567fe
oauth2: Add OpenAPI spec 3 years ago
Julien Veyssier 629adc318f add bruteforce protection in OauthApiController 3 years ago
Julien Veyssier 18c742a901
encrypt oauth2 client secrets 3 years ago
Artur Neumann f634badf12
public interface to invalidate tokens of user 3 years ago
Artur Neumann 21be557e2a
invalidate existing tokens when deleting an oauth client 3 years ago
luz paz 9d26671f05 Fix typos in apps/ subdirectory 3 years ago
Joas Schilling c6ae53096c
More test fixing 4 years ago
J0WI 3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Daniel Kesselberg 509af24bc9
Fix invalid instantiation of TemplateResponse if client not found 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 9e2bb5ef36 Move oauth admin settings to initialstate 6 years ago
Roeland Jago Douma b9ac258870
Strict controllers 7 years ago
Roeland Jago Douma 1e6711305a
Fail gracefull if an unkown oauth2 client tries to authenticate 7 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma 75456b057d
Reset bruteforce on token refresh OAuth 7 years ago
Patrik Kernstock 8f9fa9ee13 Remove filter_var flags due to PHP 7.3 deprecation, fixes #10894 7 years ago
rakekniven 8370111cf4
Update SettingsController.php 8 years ago
Roeland Jago Douma 555de27567
Validate OAuth2 redirect uri 8 years ago
Roeland Jago Douma 1ccb36a0f1
Cleanup Controller 8 years ago
Roeland Jago Douma d2d1e8e375
Migrate OAuth Admin settings to vue 8 years ago
Roeland Jago Douma 3556e78c25
The OAuth endpoint needs to support Basic Auth 8 years ago