Commit Graph

36 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
provokateurin 1b4722c330
fix(oauth2): Limit allowed grant_type values in getToken 4 months ago
provokateurin 085d4c9364
refactor(OpenAPI): Adjust scopes to match previous behavior 12 months 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
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
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
luz paz 9d26671f05 Fix typos in apps/ subdirectory 3 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 44577e4345
Remove trailing and in between spaces 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 b9ac258870
Strict controllers 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
Roeland Jago Douma 3556e78c25
The OAuth endpoint needs to support Basic Auth 8 years ago
Roeland Jago Douma 5a97148863
Don't use special chars to avoid confusion 8 years ago
Roeland Jago Douma f7ecec855b
Rotate token 8 years ago
Roeland Jago Douma c28b25c4f0
Authenticate the clients on requesting a token 8 years ago
Roeland Jago Douma 49795d2006
Set OAuth token expiration 8 years ago
Lukas Reschke 88afd8b224
Cleanup code 9 years ago
Lukas Reschke 4b4d3bb1c2
It's a bearer 9 years ago
Lukas Reschke 5f71805c35
Add basic implementation for OAuth 2.0 Authorization Code Flow 9 years ago